shortbread-docs icon indicating copy to clipboard operation
shortbread-docs copied to clipboard

Layer "water_lines": tunnel definition

Open superrache opened this issue 10 months ago • 3 comments

In OSM, a waterway tunnel could have the tag tunnel=flooded: https://wiki.openstreetmap.org/wiki/Tag:tunnel%3Dflooded So the tunnel field of layer water_lines should be true if tunnel=yes, building_passage, flooded or covered=yes. false otherwise.

superrache avatar Feb 25 '25 15:02 superrache

I'm +1 on including this in the next minor version as well as avalanche_protector.

Are we better off having false for tunnel=no, no attribute for no tunnel tag, and tunnel=yes for other values of the OSM tunnel tag? This would avoid us having to keep a list of values up to date.

I guess this also raises the question do we want to include the tunnel attribute for anything other than tunnels? Sending tunnel=false with every non-tunnel feature is unnecessary.

Similar issues exist for bridge.

pnorman avatar Jul 27 '25 16:07 pnorman

For a proposal to vote on, I propose adding "flooded" and "avalanch_protector" to the list of tunnel values.

The question of default values can be addressed as part of #45

pnorman avatar Sep 12 '25 00:09 pnorman

This issue was about the "water_lines" layer (and, in extension, the "water_lines_label" layer). I don't see that "avalanch_protector" fits in here. Of course we can generalize to the "street*" layers, but should make this explicit then before we decide anything.

joto avatar Oct 22 '25 12:10 joto