logo separator

[mkgmap-dev] [PATCH v2] - handle "anti-islands"

From Mark Burton markb at ordern.com on Tue Jan 26 21:46:56 GMT 2010

Marko,

> Yes, it goes away if I don't generate sea.  I reran --generate-sea=polygons
> without your anti-island patch:
> 
> 2010/01/26 23:26:58 WARNING (Osm5XmlHandler):   Way null (http://www.openstreetmap.org/browse/way/4611686018427418078) has consecutive nodes with the same coordinates (http://www.openstreetmap.org/?mlat=62.22656&mlon=25.82736&zoom=17) but they can't be merged because both are boundary nodes!
> 
> Different generated way id, same warning.

OK - I think I know where it's coming from. The sea generation code
will clip the coastline where it hits the tile boundary so that's where
the new node is coming from. I will look at that code and see if it can
be smarter about reusing existing points.

Mark



More information about the mkgmap-dev mailing list