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

Hi,

Does the altitude attribute represents a relative altitude?

If I have a tunnel below a railroad, should I set altitude to -1?

Thanks!

asked 08 Apr '16, 14:25

GranBarba's gravatar image

GranBarba
16113
accept rate: 0%

closed 12 Apr '16, 09:17

Lightsider's gravatar image

Lightsider
1.5k52129

What altitude attribute are you talking about exactly? Can you give us the name of the tag key?

(08 Apr '16, 15:06) scai ♦

The name in spanish is "altitud"

(08 Apr '16, 19:11) GranBarba

The tunnel under the railroad should probably be marked as layer=-1. Sometimes it will be a different value for the layer, but the usual tunnel will be -1.

Altitude is usually stored in the ele key (short for elevation). It should probably only be used on a limited set of objects where the elevation is well determined (things like mountain peaks). In general combining OSM data with separate elevation data is a better approach than adding elevations of various accuracies and sources to objects.

permanent link

answered 08 Apr '16, 15:07

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

edited 08 Apr '16, 15:16

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249

Thanks, Vincent and Max!

(08 Apr '16, 19:09) GranBarba
Your answer
toggle preview

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:

×22
×4

question asked: 08 Apr '16, 14:25

question was seen: 2,123 times

last updated: 12 Apr '16, 21:35

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