a-b-street / a-b-street/osm2streets

Mark geometry lane based on `placement=` tags

オープン
#6 コメント 6 件 リアクション 1 件 担当者 1 名 @BudgieInWA が担当を希望しています GitHub で見る
tracking issue
主要言語
Jupyter Notebook
スター
156
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

説明

For his Straßenraumkarte, Supaplex uses the tag `placement=right_of:1` to clarify where lanes are positioned in relation to the geometry-line.

> Additionally, placement=right_of:1 helps to place the lanes precisely in relation to position of the osm way by indicating that the way geometry is located right of the first (left) lane and all other lanes are to be rendered right of it.

https://supaplexosm.github.io/strassenraumkarte-neukoelln/posts/2021-12-31-micromap-update#bike-lanes-position-them-right

---

I think osm2lanes would have to evaluate this tag in order to allow renderer to precisely position the lanes.

---

Maybe the osm2lanes schema could be something like this

> lane1 > position_from_geometry=-2
> lane2 > position_from_geometry=-1
> lane3 > position_from_geometry=0
> lane4 > position_from_geometry=1

---

I don't think that is the next important part, but I was thinking about it and wanted to start the documentation/discussion.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

この issue では、レーンをジオメトリ線に対して相対的に配置するために、placement=right_of:1 のような OSM タグを解釈する方法について扱います。まず、osm2streets が現在レーンデータとジオメトリをどのようにパースしているかを調べます。既存のタグのパースロジックとレーン配置コードを探します。position_from_geometry フィールドをレーンスキーマに組み込む方法を判断し、例示用の OSM データでテストします。

索引モデルが issue の本文から書いたものです。

評価

領域
backend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。