logo separator

[mkgmap-dev] Multipolygons and basic question on polygons with holes

From Christian Gawron christian.gawron at gmx.de on Fri Jan 1 13:15:41 GMT 2010

Dear all,

I still have the feeling that the cause of the problems with 
multipolygons may be due to the representation of "polygons with holes" 
in the img file.
If I'm not mistaken, the multipolygon code connects the inner and outer 
polylines forming the multipolygon which either leads to spurious lines 
("triangles", see sea polygons in mp-mode) or to vanishing inner polylines.

Is this really the correct representation of "polygons with holes" in 
the img file?

BTW: There is also still a problem with the rendering of polygons with 
holes in the polish format. The attached mp-file is displayed correctly 
in gpsmapedit, but the generated img file is broken. The polish format 
seems to add "inner" polygons as extra data lines, but these additional 
lines are not handled in a special way.

Best wishes
Christian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.mp
Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100101/6aab6ee0/attachment.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img.png
Type: image/png
Size: 26288 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100101/6aab6ee0/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mp.png
Type: image/png
Size: 24262 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100101/6aab6ee0/attachment-0001.png 


More information about the mkgmap-dev mailing list