logo separator

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

From Andrzej Popowski popej at poczta.onet.pl on Sat Feb 9 18:55:10 GMT 2019

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


More information about the mkgmap-dev mailing list