Hi Gerd,

In OSM/Mapnik the park was rendered green so I (wrongly) assumed that the 
OSM-data must be OK.
Should have checked in JOSM, sorry...

I am glad to hear you could (re)use the test case and fix a related bug so 
thankfully it wasn't a complete waste of time :)

Thanks for the fix!

Ranko


On 23.01.2021. 9:04, Gerd Petermann wrote:
Hi Ranko,

I've found a bug in mkgmap that caused this. Fixed with r4597, so thanks for 
reporting this :)
I've also fixed the wrong multipolygon in OSM.

ciao,
Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Gerd 
Petermann <[email protected]>
Gesendet: Samstag, 23. Januar 2021 07:55
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] split multipolygon not shown in both img tiles

Hi Ranko,

the outer way of the multipolygon is not closed, so it is a data error, but I 
am surprised about the result. When I correct the multipolygon the map looks OK.

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Ranko Jaksic 
<[email protected]>
Gesendet: Freitag, 22. Januar 2021 19:24
An: mkgmap-dev
Betreff: [mkgmap-dev] split multipolygon not shown in both img tiles

Hi Gerd,

I found another case where a split mp is not properly handled in mkgmap.

When following relation (park with inner lake) is split verticaly (so that the 
lake is intersected) then the park is shown in only one of the generated img 
tiles.

https://www.openstreetmap.org/relation/3351946

I have uploaded my test data to http://files.mkgmap.org.uk/

rj-mp-split.zip
      relation-3351946.osm.pbf   (OSM data for this relation)
      areas-test.list   (areas.list for splitter)

Test code:

java -d64 -Xmx8G -jar splitter.jar  --split-file=areas-test.list 
relation-3351946.osm.pbf
java -d64 -Xmx8G -jar mkgmap.jar  -c template.args --gmapi 
--remove-ovm-work-files

I am using mkgmap-r4574, but also tested with latest mkgmap-r4596 and the 
results are the same...

regards,
Ranko
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to