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

Layer hierarchy

0

Hi,

Can somebody please share with me what the hierarchy of the data is (for layers)? I've tried to take a look at the data myself, but would be great to see if there are a set of rules in place.

For example - it looks like bridges which are of a height >50m are always assumed to be layer 5. What are the rules for this?

asked 26 Sep '16, 05:26

Kyuusho's gravatar image

Kyuusho
11112
accept rate: 0%

edited 26 Sep '16, 05:28

Can you describe your problem in a bit more detail? It may be that we don't understand what you're trying to ask.

(27 Sep '16, 18:59) SomeoneElse ♦

2 Answers:

4

There are no rules about the drawing order if that's what you mean; every map style has to decide for themselves what they want to do. The layer tag is used to model a local layering but the 50-meter-bridge rule you mention is not a general rule, just something someone has made up for their particular map style.

answered 26 Sep '16, 07:41

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

2

Hi, The layer tag is fully explained here :- https://wiki.openstreetmap.org/wiki/Key:layer , with a few examples.

answered 27 Sep '16, 07:07

BCNorwich's gravatar image

BCNorwich
6.3k54489
accept rate: 20%

Source code available on GitHub .