You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2016-06-04 14:17:46

Skicat
Member
Registered: 2013-11-01
Posts: 7

Erratic elevation in routes with OSM maps

Often when planning a route in Basecamp I notice that on the Graph tab the elevation will occasionally plunge down to zero. This is not accurate as the real elevation is nowhere near zero anywhere along the route. This happens with maps from two different sources although both were created using OSM data. Both maps also have contour lines that clearly show the *real* elevation although I believe the graph works from a DEM model and ignores these.

One of the maps I use is the excellent OpenFietsMap, the other is a selection of tiles from garmin.openstreetmap.nl. I also use a Garmin product based on Ordnance Survey data and this does not exhibit the problem, hence I am more suspicious of the OSM map data.

Does this indicate a defective DEM model, which I am guessing is part of the OSM data? Or is it a deficiency in the Basecamp calculations?

As an example, a route from Kintbury, Berkshire to Walbury Hill, Berkshire should climb steadily from 100m to about 260m, but the route graph shows a sudden descent to sea-level half way along.

Offline

#2 2016-06-04 15:40:14

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Re: Erratic elevation in routes with OSM maps

No, the OSM database does not contain elevations at all. To show those contours, most map makers use SRTM/NASA data made available by http://viewfinderpanoramas.org/dem3.html which contain those gaps.

Offline

#3 2016-06-04 16:01:05

popej
Member
Registered: 2008-09-20
Posts: 500
Website

Re: Erratic elevation in routes with OSM maps

BaseCamp calculates elevation graph based on contour lines. This shouldn't be a problem for OSM maps which include them, but maybe there is something wrong with contours on your map? Contours aren't standard feature for OSM maps.

CFVqj9o.png


popej

Offline

#4 2016-06-04 18:01:52

Skicat
Member
Registered: 2013-11-01
Posts: 7

Re: Erratic elevation in routes with OSM maps

Hi popej, that is very useful. I went to the trouble of recreating that route with my own maps before I read ligfietser's previous post which seems to explain that these gaps are to be expected in the SRTM DEM data. I would be interested to know which map you are using for that screenshot. If I create the exact same route with an OpenFietsMap map, there is a descent to zero elevation between the 150m and the 175m contours.

Your map shows that the gapless DEM data is available, somewhere.

Offline

#5 2016-06-04 19:16:55

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Re: Erratic elevation in routes with OSM maps

For the Openfietsmap I have used older elevation data from 2014, maybe this is improved?

Offline

#6 2016-06-04 19:58:49

popej
Member
Registered: 2008-09-20
Posts: 500
Website

Re: Erratic elevation in routes with OSM maps

I think SRTM v3 with filled voids were published in 2014. But if you have older data then any problem should be directly visible on map. Please trace contours which cross this route and check if there are any unexpected heights.


popej

Offline

#7 2016-06-04 21:55:31

Skicat
Member
Registered: 2013-11-01
Posts: 7

Re: Erratic elevation in routes with OSM maps

The route, from North to South, crosses a 125m, 150m, 175m, 200m, 225m, 250m and 275m contours. The problem appears between the 150m and 175m contours. The zero elevation appears to be at or very close to N51.36718° W1.46131°. Not sure if this helps.

Offline

#8 2016-06-05 09:48:24

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Re: Erratic elevation in routes with OSM maps

The OFM does not render the zero m contours, but it might be possible that Garmin takes this void into calculation although you cant see it on the map. When I calculate my altitude profiles I always plan it on ridewithgps.com those are more accurate.

Offline

Board footer

Powered by FluxBB