This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Highway/waterway crossing topological rule

1

JOSM complains that a highway (highway=residential) crosses an underground waterway (waterway=stream; tunnel=culvert). Since the two don’t actually “touch”, do I need to add a node to make them connect anyway? Any available topological rules I should be aware of?

Thank

asked 24 Oct '20, 13:21

jfd553's gravatar image

jfd553
389202332
accept rate: 0%


One Answer:

5

Hi, just add layer=-1 on the culvert. This shows the relation between the two objects, (the highway implied as layer=0 with the culvert below tagged layer=-1).

Just looked and see you need the layer=-1 on both culverts. Also I notice the stream is joined to the Rue du Pavillon.

Sorry I mistakenly put a comment on the changeset instead of answering here.

answered 24 Oct '20, 13:44

BCNorwich's gravatar image

BCNorwich
6.3k54489
accept rate: 20%

edited 26 Oct '20, 18:54

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701

1

Just to be clear, the tag that should be used here is "layer", not "level".

(26 Oct '20, 16:09) alester
1

I've fixed the use of level instead of layer.

(26 Oct '20, 18:54) SimonPoole ♦

Source code available on GitHub .