logo separator

[mkgmap-dev] [PATCH v3] Multipolygon: Improved role handling

From WanMil wmgcnfg at web.de on Wed Mar 17 07:30:14 GMT 2010

> Hi WanMil,
>
> On Tue, Mar 16, 2010 at 06:31:20PM +0100, WanMil wrote:
>>> The patch improves the handling of roles and warning messages in
>>> multipolygon.
>>> - A reasonable warning message for nested outer and nested inner
>>> polygons is given
>>> - nested inner polygons are processed anyhow
>>>
>>> WanMil
>>>
>>> P.S.: This is an updated patch to r1602.
>>>
>>
>> Is anybody out there who has tested this patch?
>> I think it's worth to commit it.
>
> I just tested it, and it works for me.  The amount of MultiPolygon warnings
> for yesterday's dump of Finland dropped from 549 to 544, but the resulting
> gmapsupp.img is about the same size.
>
> By the way, how could I fix this kind of messages:
>
> 2010/03/17 07:06:33 WARNING (MultiPolygonRelation): 63240003.osm.gz: Polygon 461
> 1686018427476479(16P : (4611686018427472578[16P]) carries role inner but lies in
> side an inner polygon. Potentially its role should be outer.
>
> Could the message include the way ID?
>
> 	Marko

You don't see it but the message includes the way id:-) It is an 
artificially generated way (4611686018427472578) from the generate-sea 
algorithm so there is no "original" OSM way id.

WanMil



More information about the mkgmap-dev mailing list