Roads: provide an abbreviated name attribute for labels
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
Read the roads layer and the related upstream work in planetiler#14 and this repository's #183 to understand existing abbreviation handling. Then assess how localized short names should be generated and exposed in the layer; done means the roads layer provides abbreviated names for the requested language forms and the behavior is covered by appropriate tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Long street names often don't fit along short road segments, so MapLibre drops the label entirely. Style-side workarounds are limited: there is no replace/regex in the style spec, and the maintainers point to doing this at tile generation time (maplibre/maplibre-gl-js#4198, maplibre/maplibre-gl-js#2059).
Would you consider emitting an abbreviated name (e.g. name_short / name:xx_short) in the roads layer? Related upstream work: onthegomap/planetiler#14 (abbreviation utility, based on OSRM's dictionaries), osm-americana/openstreetmap-americana#1470, and #183 here.
We currently do it client-side with a case expression for es/ca/fr (prefix: Calle → C., Avenue → Av.) and en (suffix: Street → St), and we'd be happy to contribute those tables.
- Ngôn ngữ chính
- Java
- Star
- 779
- Fork
- 111
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của protomaps/basemaps
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 18/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
Tất cả issue của protomaps/basemaps
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
paulpacifico/shutter-encoder#485 ·
-
ci reactjs typescript web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
mhnuk2007/finsim#175 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-results
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
RamazanKara/nightjar#205 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs: README should state that Java 25 is required to buildCó thể đã có người làm @mmartofel đã nhận hôm nay. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
piomin/ai-software-factory-showcase#82 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày