NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

How to get the Z Values for the given roads or streets?

asked 27 Jul '11, 10:09

N%20V%20Sumanth%20Vallabhaneni's gravatar image

N V Sumanth ...
1111
accept rate: 0%


We don't have Z values in general; the way things are drawn on the map depends mainly on the rendering software and its style sheet. I.e. when we have a road through a forest, neither will usually have a Z value and it is up to the rendering software to make the decision whether to draw the forest on top of the road, or the road on top of the forest.

We do have a layer tag (see Wiki) that can be used to give a relative Z value to objects e.g. where several roads meet - the default layer is 0, and if something is in a tunnel we will often use layer=-1 and if it is on a bridge, layer=1.

permanent link

answered 27 Jul '11, 10:20

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×8
×1

question asked: 27 Jul '11, 10:09

question was seen: 4,396 times

last updated: 27 Jul '11, 10:20

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum