a-b-street / a-b-street/ltn

Handle highway=construction

オープン
#411 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
21
フォーク
7
PR マージ指標
30日以内にマージされた PR はありません

説明

I started working on a neighborhood that is bordered by a road currently in construction/renovation: https://www.openstreetmap.org/way/1102390702

Image

The road itself only had `highway=construction`, to which I've added `construction=secondary` to match what the [Wiki](https://wiki.openstreetmap.org/wiki/Tag:highway=construction) recommend.

Because of the more or less temporary nature of road work, compared to the long span work done through LTN, I think that LTN should include those roads by default. If we want to still ignore them, we can put a modal filter on them.

If present, it should use the value present in the `construction` tag, in that case treat that road as `highway=secondary`.

What do you think ?

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

OSMのhighwayタグを処理するコードを探します。おそらく、地図データを解析するモジュールにあります。タグに基づいて道路をフィルタリングまたは含めている箇所を特定します。変更内容は、'construction'タグの値を読み取り、その道路を指定されたhighwayタイプ(例: secondary)として扱うことです。highwayの処理に関する既存のテストを確認して期待される動作を把握し、highway=constructionのテストケースを追加します。

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

評価

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

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

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