logo separator

[mkgmap-dev] custom background with automatic simplification

From Kolesár András mkgmap at kolesar.hu on Sun Mar 6 15:54:03 GMT 2011

Hello,

Fix to my previous post: if a background polygon was over the node limit (255), it was truncated. I have addedDouglasPeuckerFilter to TdbBuilder to simplify the shape. MaximumPointsFilter class automatically increases maximum error distance of DouglasPeuckerFilter until node count fits to the limit. If it's not possible, bounding rectangle is used on the overview map.

András
-------------- next part --------------
A non-text attachment was scrubbed...
Name: background.patch
Type: text/x-patch
Size: 9453 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110306/e1910f7e/attachment.bin 


More information about the mkgmap-dev mailing list