Roads: provide an abbreviated name attribute for labels
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Java
- スター
- 779
- フォーク
- 111
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
protomaps/basemaps のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
protomaps/basemaps の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
paulpacifico/shutter-encoder#485 ·
-
ci reactjs typescript web
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
mhnuk2007/finsim#175 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
device-results
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
RamazanKara/nightjar#205 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
Docs: README should state that Java 25 is required to build対応中かも @mmartofel が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
piomin/ai-software-factory-showcase#82 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信