
oh yeah - I think if there is DEM present - routing does not matter? Because with DEM the map will then also show profile for tracks. If a map contains DEM - I guess show-profiles should be implied. On Fri, 10 Jan 2020 at 19:20, Felix Hartmann <extremecarver@gmail.com> wrote:
show profile works without DEM in limited mode - meaning for routes only, but not for tracks. HOWEVER if you enable it with a map having neither contourlines NOR DEM info - it will cause crashes. So it is useful also for maps with contourlines only. Actually I've never tried what happens if you have a map with DEM but without contourlines. The DEM/contourlines can be in a separate layer (transparent tiles).
On Fri, 10 Jan 2020 at 17:16, Gerd Petermann < gpetermann_muenchen@hotmail.com> wrote:
Hi Kalle,
good to hear. I am working on a patch for mkgmap, it seems I got something completely wrong with this flag.
There are two flags (also in gmaptool) and before r4119 mkgmap wrote a 1 in the 2nd when DEM data was available, with 4119 this changed. The documentation for the show-profiles option was written before r4119 and is wrong since then.
It was the Adria Topo map that confused me. It has DEM data but in flag that I thought was the hasDem flag was a 0, while the show-profile flag was 1. So, I thought the flag cannot mean hasDem and decided to write a 0 because this was also done before mkgmap supported DEM. Stupid me!
Probable solution: I think it was mentioned before that mkgmap probably reversed the order of the "show-profiles" flag and the hasDem flag. I think this is true, the Adria Topo map says "I have DEM data but don't show profiles". Maybe this is because the map is not routable.
I'll have to run some more tests ... Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Karl-Heinz Kühnlein <kalle_kuehnlein@hotmail.com> Gesendet: Freitag, 10. Januar 2020 16:55 An: Andrzej Popowski; mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Elevation data just partially accessable by Basecamp
Hi Andrzej, Hi Gerd,
YES, --show-profiles=1 solved the problem! GREAT!
I didn't notice this option far away from the DEM options section of the documentation. I suggest to move it to the DEM option section or give a reference there. This option might be usefull for trip planning even without DEM data if contour lines are available. But i didn't tried it yet ...
Thank you very much for your help!
Kind regards Kalle
________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@hotmail.com> Gesendet: Freitag, 10. Januar 2020 14:45 An: Andrzej Popowski <popej@poczta.onet.pl>; mkgmap-dev@lists.mkgmap.org.uk <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] Elevation data just partially accessable by Basecamp
Hi Andrzej,
in http://gis.19327.n8.nabble.com/option-show-profiles-and-DEM-tp5909983p591001... you mention a hasDem flag. I cannot find the information have no idea where this is. Please refresh my memory.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@hotmail.com> Gesendet: Freitag, 10. Januar 2020 15:13 An: Andrzej Popowski; mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Elevation data just partially accessable by Basecamp
Hi Andrzej,
thanks for the hint, I totally forgot about this option. I use show-profiles=1 for my map and when I remove that I can reproduce Kalles problems. So, it seems the description for the option is not correct. There was a long discussion here:
http://gis.19327.n8.nabble.com/option-show-profiles-and-DEM-tt5909983.html#a...
I have to reread it first.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej@poczta.onet.pl> Gesendet: Freitag, 10. Januar 2020 14:46 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Elevation data just partially accessable by Basecamp
Hi,
just have realized, that option --show-profiles could remain at default 0 even when DEM are processed.
Kalle, please make sure, that you include --show-profiles=1 in mkgmap options.
I think the default for --show-profiles could be dependent on DEM presence. Would make less hassle.
-- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Schusterbergweg 32/8 6020 Innsbruck Austria - Österreich
-- Felix Hartman - Openmtbmap.org & VeloMap.org Schusterbergweg 32/8 6020 Innsbruck Austria - Österreich