logo separator

[mkgmap-dev] [mp: PATCH] Multipolygons: inner and nested polygons supported now

From WanMil wmgcnfg at web.de on Sat Jan 2 09:26:02 GMT 2010

Thanks for committing the new multipolygon to a branch and for all of 
your comments. They're helpful always!

I have improved the multipolygon handling in the mp-branch.

Changes:
* Tagged inner polygons are supported now
* Nested polygons (outer in inner in outer etc) are supported now
* Bugfix in the findCpa method (this could also be interesting for the 
trunk). findCpa did search only for the two closest points. It didn't 
check if this connection intersects the outer polygon. The bugfix checks 
this (see attached picture: old version selects the red line, bugfix 
selects the green line).

Next thing to do is to bugfix the PolygonSplitter.

Comments are welcome!

WanMil


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mp2.patch
Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100102/143ab9ea/attachment.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: findCpaFix.png
Type: image/png
Size: 1523 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100102/143ab9ea/attachment.png 


More information about the mkgmap-dev mailing list