
16 Jan
2010
16 Jan
'10
6:08 p.m.
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