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

2019-02-09 Thread Andrzej Popowski
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):

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

2019-02-09 Thread Andrzej Popowski
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

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

2019-02-09 Thread Gerd Petermann
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:

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

2019-02-09 Thread Andrzej Popowski
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

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

2019-02-09 Thread Gerd Petermann
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

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

2019-02-09 Thread Andrzej Popowski
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

Re: [mkgmap-dev] Artifacts in final map (.MP -> .IMG conversion)

2019-02-09 Thread Vadim
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.

Re: [mkgmap-dev] Artifacts in final map (.MP -> .IMG conversion)

2019-02-09 Thread Vadim
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

Re: [mkgmap-dev] Artifacts in final map (.MP -> .IMG conversion)

2019-02-09 Thread Gerd Petermann
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

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

2019-02-09 Thread svn commit
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),

Re: [mkgmap-dev] Shouldn't both options --gmapi and --nsis imply --tdbfile?

2019-02-09 Thread Joris Bo
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