Omim: Show contour lines

Created on 29 Aug 2016  路  8Comments  路  Source: mapsme/omim

Now that Maps.me makes use of the altitude profile, for example when calculating bike routes, it should be possible to have it show contour lines on the map. This is very useful when hiking.

Most helpful comment

Contour line data can be generated from SRTM using e.g. phyghtmap or Srtm2Osm
http://wiki.openstreetmap.org/wiki/SRTM
SRTM data is in the public domain, so there are no licensing issues.

Easiest way to get contour lines in OSM compatible format, e.g. for Switzerland:

wget https://planet.osm.ch/switzerland-padded.poly
phyghtmap --source=view1,view3,srtm1,srtm3 --viewfinder-mask=1 --earthdata-user='' --earthdata-password='' --polygon=switzerland-padded.poly -o switzerland -j20

Where * is credentials created by signing up at https://urs.earthdata.nasa.gov/
(The data is freely redistributable, but access to the master server is restricted to registered users. Registration is free and open to anyone.)

Using this mechanism generates OSM ways with tag k="contour" v="elevation" or tag k="contour_ext" v="elevation_major"

All 8 comments

Contour line data can be generated from SRTM using e.g. phyghtmap or Srtm2Osm
http://wiki.openstreetmap.org/wiki/SRTM
SRTM data is in the public domain, so there are no licensing issues.

Easiest way to get contour lines in OSM compatible format, e.g. for Switzerland:

wget https://planet.osm.ch/switzerland-padded.poly
phyghtmap --source=view1,view3,srtm1,srtm3 --viewfinder-mask=1 --earthdata-user='' --earthdata-password='' --polygon=switzerland-padded.poly -o switzerland -j20

Where * is credentials created by signing up at https://urs.earthdata.nasa.gov/
(The data is freely redistributable, but access to the master server is restricted to registered users. Registration is free and open to anyone.)

Using this mechanism generates OSM ways with tag k="contour" v="elevation" or tag k="contour_ext" v="elevation_major"

This is a duplicate of Issue #5722.

Maps.me even uses elevation information from STRM data for their elevation profiles already: https://support.maps.me/hc/en-us/articles/360013576233-Elevation-profile

Please use the existing data to also display elevation contours! Please! We were almost lost in a mountainous region during our holidays because the region looked "innocent" on maps.me!

Good news!

Contour lines available in MAPS.ME started from 9.6 version: update the app, then downloaded maps and enable Terrain layer 馃彅

We started to roll out update so it may take some time before this update will be available for everyone.

Congratulations for the implementation of Terrain layer! This is a huge step for MAPS.ME.

However, the there are far too few contour lines for using MAPS.ME, e.g., for hiking. See the attached example comparison between MAPS.ME and OpenAndroMaps with an Elevate theme.

MapsMe
OpenAndroMaps

@chstdu You should open a fresh new issue for this. I couldn't test the feature until now because it's not released - but if the contour lines are really like shown on your screenshot, it's like there are none at all...

Hi!

Zoom in. Swabia has lines with a 20m step.

We're still working on more appropriate isolines displaying.

Contour line data can be generated from SRTM using e.g. phyghtmap or Srtm2Osm
http://wiki.openstreetmap.org/wiki/SRTM
SRTM data is in the public domain, so there are no licensing issues.

Easiest way to get contour lines in OSM compatible format, e.g. for Switzerland:

wget https://planet.osm.ch/switzerland-padded.poly
phyghtmap --source=view1,view3,srtm1,srtm3 --viewfinder-mask=1 --earthdata-user='_' --earthdata-password='_' --polygon=switzerland-padded.poly -o switzerland -j20

Where * is credentials created by signing up at https://urs.earthdata.nasa.gov/
(The data is freely redistributable, but access to the master server is restricted to registered users. Registration is free and open to anyone.)

Using this mechanism generates OSM ways with tag k="contour" v="elevation" or tag k="contour_ext" v="elevation_major"

Hi, how can I use the output if phyghtmap to add the contour lines in maps.me? I've used phyghtmap to generate contour lines for garmin devices and the method is to generate a second map that overlays the openstreetmap data.
I guess I could merge the openstreetmap data and the output of phyghtmap but then how do maps.me know what contour lines to draw at a certain zoom level?.
It would be helpful if you tell the procedure to generate the contour lines for maps.me because the map generation takes a lot of time.
I'm stuck on an old version of the app.

Hello. We use custom binary maps format. We need custom format because we can optimise it and have rather small offline maps. Contour lines are built in our offline data so it's not so easy to customise it.
We use SRTM and ASTER tiles for contour lines. We process it with tool https://github.com/mapsme/omim/blob/master/topography_generator/ which allows us to set custom parameters for each country (step, smoothing etc.). We try to find balance between data size and accuracy for each country but of course for some users it's not good.

To generate custom contour lines one should:

All our map generation tools are opensource and comes with instruction or built-in docs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eneerhut picture eneerhut  路  6Comments

naoliv picture naoliv  路  4Comments

Norbert80 picture Norbert80  路  6Comments

rugk picture rugk  路  3Comments

nh2 picture nh2  路  6Comments