logo separator

[mkgmap-dev] Wrong multipolygon warnings

From WanMil wmgcnfg at web.de on Sun Feb 14 18:48:56 GMT 2010

Am 14.02.2010 01:11, schrieb Carlos Dávila:
> WanMil escribió:
>> Am 13.02.2010 17:56, schrieb Carlos Dávila:
>>> WanMil escribió:
>>>>
>>>> I have attached a patch for revision 1568. Hopefully this will
>>>> work...?!?
>>>>
>>>> WanMil
>>> I reply off list because of the size of the attachments.
>>> Your patch seems to drop many of the multipolygons as you can see in the
>>> screenshots. Also those supposed to be corrected during compilation are
>>> missing, for example this one:
>>> Polygon 4611686018427389034 intersects itself. It is splitted into 3
>>> polygons.
>>> (MultiPolygonRelation): 63240002.osm.gz: The polygon is composed of
>>> (MultiPolygonRelation): 63240002.osm.gz: -
>>> http://www.openstreetmap.org/browse/way/4889848
>>>
>>> I also attach the log from compilation, unpatched and patched.
>>>
>>> Carlos
>>>
>> Carlos,
>>
>> thanks for your feedback. I added a very silly error to patch 2 which
>> was not in patch 1. At some point long and lat was exchanged. Sorry
>> for that!
>>
>> Attached is version 3 of the patch which works for me. I have tested
>> spain and had a look on mp 319017 which does not have any warnings now.
>>
>> Please give feedback if you find any other issues.
> Back to the list.
> This new patch worked fine. Now all multipolygons are where they are
> supposed to be and most warnings have disappeared. I attach your patch
> to share it with the list.
> Carlos
>

Thank you Carlos!

I have posted a version 4 in which some (commented) debug messages are 
removed.

WanMil





More information about the mkgmap-dev mailing list