A few questions... I have read that one should tag a bridge with layer=1 and a tunnel with layer=-1, always(?) A lot of times the road on the bridge is on ground level and the crossing road under has been lowered (with an area around the bridge). Then it would feel more natural to set the bridge to layer=0 and a segment of the road under as layer=-1. Is this totally wrong? How would a bridge on ground level with tag layer=1 be rendered in a future 3D-map?? Or will you have to use elevation data only for that? Another thing, if two ways join on the same bridge, how should I draw this? If I set a node at the start of the bridge on each way it will look like two seperate bridges, right? asked 30 Jan '11, 12:42 Divvi |
Don't worry. A level bridge at layer=0 with a road (or river) in a hollow underneath at layer=-1 it totally ok. A future 3D map might choose to show a bridge with layer=1 as an arched structure. But that is a design choice of the rendering designer, not something you should worry (too much) about. Unfortunately we don't have a good solution for the case of several ways sharing a bridge. You can add them to a single type=bridge relation but that is pretty much unused by data consumers today. answered 30 Jan '11, 12:52 petschge |
Layer tags simply define the relative position of two or more things. Ground level is usually considered to be layer=0. If you feel that bridge is on layer 0 and the thing(s) below are lower numbers that is fine. Any object without a layer tag will be assumed to be layer=0, but it helps to add a layer=* tag to at least one object when one crosses another. Usually the way on the bridge will be layer=1, but it doesn't have to be. answered 30 Jan '11, 14:18 ChrisH |
You can use any layer numbers you like. Layer numbers are only relevant when ways cross. Two consective segments of a way need not have the same layer number, even if those two segments constitute a billiard-table-flat section of road. You could legitimately have a bridge at layer 10 and the road underneath it at say layer 9. The actual layer number does not relate to height above ground; it is purely for determining what layer is above/below what. answered 26 Jul '11, 12:19 mwbg |
Generally speaking, it's not necessary to add a layer tag unless many objects pass over/under one another. See Layer in the OSM Wiki. answered 30 Jan '11, 19:47 Baloo Uriza |