logo separator

[mkgmap-dev] option --show-profiles and DEM

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Jan 11 13:48:11 GMT 2018

Hi Andreas,

you are right, thanks for the hint. I took those from the transalpin demo map, but the last two levels are empty.
So, r4045 now says
        Example which should work with levels="0:24, 1:22, 2:20, 3:18":
        --dem-dists=3312,13248,26512,53024

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von andreas.schmidt.hetschbach at t-online.de <andreas.schmidt.hetschbach at t-online.de>
Gesendet: Donnerstag, 11. Januar 2018 14:38:24
An: Development list for mkgmap
Betreff: [mkgmap-dev]  option --show-profiles and DEM

Hi Gerd,

I got a bit confused when I read  the doc/example

--dem-dists=number[,number]
If given, the option specifies the resolution(s) or zoom level for the DEM data. If not given, mkgmap tries to determine a reasonable value based on the resolution found in the *.hgt files. For PC programs like MapSource or Basecamp you only need one zoom level, for gps devies you need one for each resolution given with the --levels option. The actual values are given as distance between two DEM points. Higher disances mean lower resolution and thus fewer bytes in the map. Reasonable values for the highest resolution are somewhere between 1648 and 5520, 3312 is often used.
Example which should work with levels="0:24, 1:22, 2:20, 3:18, 4:16":
--dem-dists=3312,13248,26512,53024
This was found in a Garmin Demo map for transalpin data created 2009.

There are only 4 values for –dem-dist ,although there are 5 „Levels“.
This seems to be  in contrast to „…for gps devies you need one for each resolution given with the --levels Option ?

Regards

Andreas

Gesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10

Von: Henning Scholland<mailto:osm at hscholland.de>
Gesendet: Donnerstag, 11. Januar 2018 12:55
An: mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] option --show-profiles and DEM


Hi all,

I don't see a reason to have this option at all. It should be set
automatically to 1 if either contour data or DEM is written. If this
data is in the map, you always want to have it and if those are not in
the map, you don't need it. Or am I wrong?

Henning
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list