logo separator

[mkgmap-dev] [PATCH v1] preserve edges introduced by clipping and splitting

From Mark Burton markb at ordern.com on Sat Jan 16 18:08:23 GMT 2010

This patch stops the DP filter from discarding points at either end of
a horizontal or vertical line segment (such segments are created by the
clipper and also by the polygon splitter and, of course, could occur
naturally in the OSM data but I'd guess they are relatively rare).

The benefit is that polygons lose those ugly artifacts (e.g. weird thin
triangles) that sometimes occur at tile boundaries or where they have
been split (when zooming out in mapsource).

For me, mapsource still displays the odd spurious horizontal or
vertical line but as it goes away when the screen is scrolled, I am
assuming it is a mapsource bug rather than ours.

Please try it out and report.

Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-preserve-clipped-edges-v1.patch
Type: text/x-patch
Size: 3995 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100116/a8f563a2/attachment.bin 


More information about the mkgmap-dev mailing list