logo separator

[mkgmap-dev] [PATCH v2] Fix so that all polygons are really closed

From WanMil wmgcnfg at web.de on Sun Feb 27 14:37:10 GMT 2011

> Moin,
>
> Marko Mäkelä schrieb am 27.02.2011 10:32:
>> I got 2386 additional warnings. Some are for thin man_made=pier that
>> have been drawn as lines. There is man_made=* in the polygons style
>> file.
>
> I have not tested the polygonclose_v2.patch but it sounds like it has the
> inverse effect of the previous restrict_polygon_v1.patch, which sounds like a
> very bad idea to me.
>
> In the OSM data we have sometimes identical tags for line objects and for area
> objects. The restrict_polygon_v1.patch was build, so that the polygon rules were
> only applied, if the OSM-way is closed. Now the new patch seems to close
> automatically all ambigous ways, making the previous problem even worse.
>
> Gruss
> Torsten

Torsten,

it's the other way round. The patch tests for all unclosed ways that are 
assigned with a garmin polygon type if both endpoints are outside the 
bounding box. Only in this case the polygons are closed automatically.

Before r1865 all lines that were assigned with a garmin polygon type 
were closed automatically.

WanMil



More information about the mkgmap-dev mailing list