Re: [mkgmap-dev] Polygon 4A in mp sources

2020-03-14 Thread Andrzej Popowski

Hi Gerd,

preview compiled with r4436 works correctly.

You probably can relax the check for all readers. Polygon 0x4A needs 
some extra care, when mkgmap creates its own preview map, but I don't 
think it is dangerous in a detailed tile.


--
Best regards,
Andrzej
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Polygon 4A in mp sources

2020-03-14 Thread Gerd Petermann
Hi Andrzej,


I think this was introduced with r4437: 
http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4437

I don't remember why type 0x4a was refused for polygon rules. Probably someone 
used it without knowing the special meaning.
If you can confirm that 4437 or older produced a correct map with your input I 
can add code to exclude 0x4a from this check in polish reader.

Gerd


Von: mkgmap-dev  im Auftrag von Andrzej 
Popowski 
Gesendet: Samstag, 14. März 2020 15:00
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Polygon 4A in mp sources

Hi,

I'm trying to edit and compile preview map in mp format. Unfortunately
mkgmap forces a restriction:

SEVERE (MapFailedException): img\Topo.mp: (thrown in
PolishMapDataSource.checkType()) invalid type 0x4a for POLYGON

I'm not sure, why this restriction exist. Is there any problem to accept
polygon 4A in mp source?

--
Best regards,
Andrzej
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Polygon 4A in mp sources

2020-03-14 Thread Andrzej Popowski

Hi,

I'm trying to edit and compile preview map in mp format. Unfortunately 
mkgmap forces a restriction:


SEVERE (MapFailedException): img\Topo.mp: (thrown in 
PolishMapDataSource.checkType()) invalid type 0x4a for POLYGON


I'm not sure, why this restriction exist. Is there any problem to accept 
polygon 4A in mp source?


--
Best regards,
Andrzej
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev