logo separator

[mkgmap-dev] DEM Default Levels

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Mar 21 21:53:32 GMT 2018

Hi Felix,

I still have no idea how to calculate reasonable values. So far nobody proposed a formular, and Garmin also uses
different values in different maps. So, I think the sample given in the help is a good start. I did not see a problem in
my Oregon with a map having 4 levels and DEM with only 2 levels, I think it all depends on personal preferences.
Anyway, I'd be happy to implement a default if the community agrees on something, so feel free to sugeest a formular.


Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at gmail.com>
Gesendet: Mittwoch, 21. März 2018 22:32:56
An: Development list for mkgmap
Betreff: [mkgmap-dev] DEM Default Levels

I'm a bit unclear about the --dem-dists command.
It says that at default it chooses sensible values based on .hgt file. Could there be an option to by default choose sensible levels based on .hgt AND --levels command?

As far as I can see depending on hgt default will go to show from very zoomed in to 200 or 300m on Oregon 600 (map detail=normal/default).

Now should I just calculate the values for my levels based on the help file no matter the input files? Some maps of mine, e.g. Alps use Viewfinder 1" and 3" or SRTM 1" and 3" so if this is related to the .hgt file resolution it is not very clear what happens with mixed input files.

Could the default be changed to calculate proper values for --levels or add a value like --dem-dists=levels that chooses sensible defaults? I guess that would be the easiest solution.

Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich

More information about the mkgmap-dev mailing list