<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;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi all,</p>
<p><br>
</p>
<p>while debugging the problem reported by <span>Arndt Röhrig</span></p>
<p><a href="http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2016q4/025471.html" class="OWAAutoLink" id="LPlnk547418" previewremoved="true">http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2016q4/025471.html</a></p>
<p><br>
</p>
<p>I noticed that his style adds all polygons with "min resolution 10" like this:</p>
<p></p>
<div>landuse=basin [0x53 resolution 10]<br>
</div>
<p></p>
<p><br>
</p>
<p>Up to now I thought this is just causing more CPU load : <br>
</p>
<p>The polygon is processed for each (low) resolution and after many calculations it is typically "thrown away" because it
<br>
</p>
<p>is reduced to a single point in the <br>
</p>
<p><br>
</p>
<p>I think we can easily change mkgmap to calculate a proper "min res" value</p>
<p>for shapes depending on the actual size at resolution 24. <br>
</p>
<p>Probably that would also be useful for lines.<br>
</p>
<p><br>
</p>
<p>Any thoughts?</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<p><br>
</p>
</div>
</body>
</html>