a-b-street / osm2lanes

A common library and set of test cases for transforming OSM tags to lane specifications
https://a-b-street.github.io/osm2lanes/
Apache License 2.0
34 stars 2 forks source link

`sidewalk=separate` unsupported #249

Closed Discostu36 closed 2 years ago

Discostu36 commented 2 years ago

Ways that have a sidewalk=separate tag lead to a conversion error.

Conversion Error: unsupported: 'sidewalk=separate' - osm2lanes/src/transform/tags_to_lanes/modes/foot_shoulder.rs:213:32

BudgieInWA commented 2 years ago

Good point. Like sidewalk=no, no sidewalk lanes should be generated for the way. osm2streets et al. should use sidewalk=separate to associate the nearby highway=footway or add a generic sidewalk as needed.

Maybe osm2lanes should gain an understanding of "parallel"/"adjacent" ways. Not to detect them, but to work with a list of them, the whole corridor, once they have been identified.