<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi all,</p>
<p><br>
</p>
<p>see also <a id="LPlnk19929" href="http://gis.19327.n5.nabble.com/Patch-v1-improve-filters-to-reduce-artifacts-in-shapes-at-lower-resolutions-tp5879264.html" class="OWAAutoLink">
http://gis.19327.n5.nabble.com/Patch-v1-improve-filters-to-reduce-artifacts-in-shapes-at-lower-resolutions-tp5879264.html</a><br>
</p>
<p>here is the 2nd version of the patch.</p>
<p>Major differences to v1:</p>
<p>1) The start and end points of lines are marked as preserved <br>
</p>
<p>2) The Douglas-Peucker-Filter now recognizes "preserved" points in lines and shapes, not only shapes <br>
</p>
<p><br>
</p>
<p>The positive effect of this is that the connecting point of T junctions is preserved and therefore not</p>
<p>eliminated from either way.</p>
<p>The negative effect is a small increase in img size <span>(~ 1%)</span> because more points are kept</p>
<p><br>
</p>
<p>A binary is here:</p>
<p><a id="LPlnk801001" href="http://files.mkgmap.org.uk/download/304/mkgmap.jar" class="OWAAutoLink">http://files.mkgmap.org.uk/download/304/mkgmap.jar</a></p>
<p><br>
</p>
<p>If I hear no complains I'll commit this version on thursday.</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<p><br>
</p>
</div>
</body>
</html>