logo separator

[mkgmap-dev] [Patch] Improve Multipolygon handling

From GerdP gpetermann_muenchen at hotmail.com on Tue Feb 28 08:26:47 GMT 2012

Hi,

attached patch simplifies the code to join ways. The original code is slower
(and in my eyes harder to understand) because it (sometimes) adds single
points to the beginning of an ArrayList, which means System.arraycopy() for
each insert. Esp. for level-2 boundaries, the ArrayLists can be > 100000
elements.

http://gis.19327.n5.nabble.com/file/n5521191/MultiPolygonRelation.patch
MultiPolygonRelation.patch 

Gerd

--
View this message in context: http://gis.19327.n5.nabble.com/Patch-Improve-Multipolygon-handling-tp5521191p5521191.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.



More information about the mkgmap-dev mailing list