[mkgmap-dev] [PATCH v1] Fix so that all polygons are really closed
From WanMil wmgcnfg at web.de on Fri Feb 25 22:29:37 GMT 2011
As András Kolesár found out the PolygonSplitter did not close all polygons. There were several more places in the code where polygons were not closed. I am not really sure if that caused any problems in the map but definitely the coding was not clean. The patch fixes the conversion between mkgmap objects (List<Coord>) and Java2D objects (Polygon, Area). Additionally the StyleConverter ensures that lines which are assigned with polygonal garmin types are closed by adding the first coord to its list of points. Please test and inspect the polygons crossing the tile borders in particular. WanMil -------------- next part -------------- A non-text attachment was scrubbed... Name: polygonclose_v1.patch Type: text/x-patch Size: 12358 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110225/f0f7e495/attachment.bin
- Previous message: [mkgmap-dev] Tile Border Artifact with --generate-sea
- Next message: [mkgmap-dev] [PATCH v2] Fix so that all polygons are really closed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list