logo separator

[mkgmap-dev] Commit r4270: improve reader for polish (*.mp) format

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Feb 9 19:40:52 GMT 2019

Hi Andrzej,

thanks for your research. So I think mkgmap should produce the same results as cGPSmapper does?
Maybe there are different versions of the binary with different behaviour?
I'll have to try what happens without the Endlevel line ...

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej at poczta.onet.pl>
Gesendet: Samstag, 9. Februar 2019 19:55
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Commit r4270: improve reader for polish (*.mp) format

Hi Gerd,

I have compiled this example. cGPSmapper doesn't work like in quoted
description. When EndLevel is present, cGPSmapper uses only lowest DATA
and ignore any other. See description of EndLevel, this one is true:

Endlevel=# - The coordinates in the lowest numbered Data# line apply
up to the specified EndLevel=#.

When compiling example:
[RGN40]
Type=22
Label=
EndLevel=2
Data0=(51.562624,-1.070283),(51.561637,-1.070592),(51.561272,-1.069878),
(51.560059,-1.064277)
Data1=(51.562624,-1.070283),(51.561272,-1.069878),(51.560059,-1.064277)
[END]

the result is the same as for:

[RGN40]
Type=22
Label=
EndLevel=2
Data0=(51.562624,-1.070283),(51.561637,-1.070592),(51.561272,-1.069878),
(51.560059,-1.064277)
[END]

You can see the change between level0 and level1, if you remove EndLevel
statement:

[RGN40]
Type=22
Label=
Data0=(51.562624,-1.070283),(51.561637,-1.070592),(51.561272,-1.069878),
(51.560059,-1.064277)
Data1=(51.562624,-1.070283),(51.561272,-1.069878),(51.560059,-1.064277)
[END]

This means, that GPSMapEdit doesn't display multiple DATA with EndLevel
correctly.

--
Best regards,
Andrzej
_______________________________________________
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