Hi Gerd

should 3312 logically  be 3314 (2^32/(360*3600))  ?

Not that it matters much.

r

Nick


On 11/01/2018 13:48, Gerd Petermann wrote:
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 <[email protected]> im Auftrag von 
[email protected] <[email protected]>
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:[email protected]>
Gesendet: Donnerstag, 11. Januar 2018 12:55
An: [email protected]<mailto:[email protected]>
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
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to