logo separator

[mkgmap-dev] Elevation data just partially accessable by Basecamp

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Jan 10 18:49:29 GMT 2020

Hi all,

my current understanding is that we have two flag regarding profiles. The first signals the existence of DEM data and the other the existence of contour lines (0x20-0x22?) in RGN.
So, there should be no need to have option --show-profiles=1 , which in fact changed the value for the first flag (hasDEM)
I try to get rid of this option.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at gmail.com>
Gesendet: Freitag, 10. Januar 2020 19:27
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Elevation data just partially accessable by   Basecamp

(sorry - should have written this before already. It is always better to join maps using mkgmap -  because only then address search will continue to work. And with mkgmap you can set this option too when just combining .img files).

On Fri, 10 Jan 2020 at 19:25, Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com>> wrote:
@Kalle - the flag is inside the TDB file I think - so when you merge/join a map - it needs to be written again into the tdb - because tdb has to be written newly. And it is possible with gmaptool - but maybe you need to enable both experimental and unstable options in gmaptool.

On Fri, 10 Jan 2020 at 19:23, Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com>> wrote:
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 at gmail.com<mailto:extremecarver at 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 at hotmail.com<mailto:gpetermann_muenchen at 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 at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Karl-Heinz Kühnlein <kalle_kuehnlein at hotmail.com<mailto:kalle_kuehnlein at hotmail.com>>
Gesendet: Freitag, 10. Januar 2020 16:55
An: Andrzej Popowski; mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at 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 at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com<mailto:gpetermann_muenchen at hotmail.com>>
Gesendet: Freitag, 10. Januar 2020 14:45
An: Andrzej Popowski <popej at poczta.onet.pl<mailto:popej at poczta.onet.pl>>; mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk> <mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at 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-tp5909983p5910016.html
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 at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com<mailto:gpetermann_muenchen at hotmail.com>>
Gesendet: Freitag, 10. Januar 2020 15:13
An: Andrzej Popowski; mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at 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#a5910020

I have to reread it first.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Andrzej Popowski <popej at poczta.onet.pl<mailto:popej at poczta.onet.pl>>
Gesendet: Freitag, 10. Januar 2020 14:46
An: mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at 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 at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at 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


--
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


More information about the mkgmap-dev mailing list