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

How to extract elevation information from tracks in JOSM?

3
1

Hello,

In JOSM I have the ability to load GPX tracks or to download gps tracks from OSM. However in both options it seems I can't get to the elevation data, like the data saved has only two dimensions.

Is there a way to get height of a track node or OSM doesn't keep that sort of data in the DB (that would be pity)?

asked 02 Oct '10, 19:19

ivanatora's gravatar image

ivanatora
2.7k355568
accept rate: 7%

edited 03 Oct '10, 11:24

Andy%20Allan's gravatar image

Andy Allan
12.5k23128153


2 Answers:

5

OSM only stores latitude, longitude, timestamp, and originating track id for GPS points in the database. However, if you download a GPX file directly, any information that was in the file when it was uploaded is available to you, and this might include elevation information. (Not all GPS devices store elevation information in the track.)

Note that GPS elevation information is notoriously unprecise (it can easily be off by 100 metres) so unless the GPS had a barometric altimeter which was properly calibrated before recording the track, any elevation information that you might extract from a GPS track is next to worthless.

answered 02 Oct '10, 19:28

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

0

I sometimes use Prune to have a look at the elevation data of a gpx-track - especially to find the location of mountain passes...

answered 03 Oct '10, 12:54

katpatuka's gravatar image

katpatuka
1.0k152636
accept rate: 12%

Source code available on GitHub .