openmaptiles icon indicating copy to clipboard operation
openmaptiles copied to clipboard

Smoothness in Transportation layer

Open utagawal opened this issue 2 years ago • 2 comments

Would it be possible to add the smoothness key in the transportation layer ?

That would help to style the map according to this element as well, specifically when the map is intended for specific usage (like cycling)

utagawal avatar Sep 08 '22 14:09 utagawal

Thanks for pointing this out. Smoothness could be considered for zoom level 15.

TomPohys avatar Jan 17 '23 11:01 TomPohys

Along these lines, I'm interested in smoothness=* as well as tracktype=* on highway=track at all zoom levels in which highway=track appear to allow changing the rendering of tracks based on these properties. (see ZeLonewolf/openstreetmap-americana#717) For my particular use-case I want to render tracks with smoothness=horrible|very_horrible or tracktype=grade4|grade5 as visually distinct from tracks that are more likely to be traversable by a majority of vehicles at the first zoom that they appear, which might be as low as z=12 in some cases.

https://wiki.openstreetmap.org/wiki/Key:smoothness https://wiki.openstreetmap.org/wiki/Key:tracktype

While I'm most interested in segmenting out these broad categories as a first pass, I imagine that in future work I will try to render a more full spectrum of both of these attributes in an understandable way. Currently I'm utilizing the surface=paved value as a proxy for tracktype=grade1, but this may not always be valid.

adamfranco avatar Jan 24 '23 15:01 adamfranco