Hi Gerd,
I have tried to compile some more complicated mp. First problem is, that
restriction placed on the beginning of the file give multiple warnings,
like:
SEVERE (RoadNetwork): 8001.mp: 1 can't locate arc from 'via' node 1
to 'to' node 171 on way 431744
SEVERE (RoadNetwork):
Hi Gerd,
I would rather have mkgmap compatible with real compiler than manual,
but in this particular case, both options are reasonable.
I'm using the latest version of cGPSmapper 100d. The earliest version I
have is 74 from 2004. It behaves the same.
--
Best regards,
Andrzej
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:
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
Hi Andrzej,
the manual says for that example:
"The path is still visible at levels 0 to 3 but the shape changes subtly
between level zero (the greatest detail) and level one. At level zero there are
four vertices in the line. At levels one and two this reduces to three
vertices. What we are
Hi Gerd,
I think GPSMapEdit does it correctly. Each line should be extended up to
EndLevel, so it means that first line should be present on levels 0-2
and second on levels 1-2.
Multiple DATA in a statement is not a typical case. I think these
statements are created usually by GPSMapEdit. I
Hi Gerd
Thanks for options! I'll try them later.
About the program used to create .MP
There are several programs.
As I wrote above, the map is created in the RiffMaster and saved in KMZ
format.
At the next stage, using a self-writing program, I convert this .KMZ file to
.MP.
Hi Gerd!
Yes, you can.
BUT the source data for creating this file is not collected by me.
This data comes with the program ReefMaster (https://reefmaster.com.au).
I just created a map in the trial version of this program, saved it in .KMZ
and converted it to .MP.
Therefore, it is better to ask
OK, I hope with r4270 most mp files should work now.
@Vadim: Can I use your sample file as input for a unit test?
Gerd
Von: mkgmap-dev im Auftrag von Gerd
Petermann
Gesendet: Samstag, 9. Februar 2019 08:51
An: Andrzej Popowski; Development list for
Version mkgmap-r4270 was committed by gerd on Sat, 09 Feb 2019
improve reader for polish (*.mp) format
Fix handling of repeated DATA lines with different levels
Sample from manual:
[RGN40]
Type=22
Label=
EndLevel=2
Data0=(51.562624,-1.070283),(51.561637,-1.070592),(51.561272,-1.069878),
Hello
I was a newbie two years ago or so.. It took me a lot and a lot of time to fall
in all the gaps and holes and try to understand.
I,m still reading the options manual trying to find out what
polygon-size-limits really mean.
The internet does help but I think only for techies knowing what
11 matches
Mail list logo