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

Fallback values for `highway=cycleway + bicycle_road=yes` #247

Open tordans opened 2 years ago

tordans commented 2 years ago

A rendering https://github.com/cyclosm/cyclosm-cartocss-style/issues/629#issuecomment-1229369967 started a talk locally about the best tagging to describe a road that is only for bikes but build like a residential or service road. We are using highway=cycleway + bicycle_road=yes for that.

Example:

That brings me to the question of which values osm2lanes should fall back to if none are given for width, surface and such.

My argument in that thread is, that in this combination, the highway should be treated like residential or service in term of how it is build but like a cycleway in terms of its function.

I don't know how far the "local fallback values" "database" has grown in osm2lanes, but that might be something to look at.

Looking at https://a-b-street.github.io/osm2streets/#19.5/52.48473/13.44443, the bottom segment that I describe above looks great already. Its move the bicycle_road=yes segment to the north, that is not shown as such. That that is https://github.com/a-b-street/osm2streets/issues/77 I guess.

Feel free to close if you think there is no relevant action here.


Ping @supaplexosm FYI

westnordost commented 2 years ago

In the interest of keeping the scope of this project manageable, I'd suggest to at least strictly separate any "fallback/defaults smartness" from the pure interpreting of the tags that are given.