<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div><hr id="stopSpelling">From: gpetermann_muenchen@hotmail.com<br>To: daveswarthout@gmail.com<br>Subject: RE: [mkgmap-dev] Lines distorted<br>Date: Fri, 30 Jan 2015 09:02:45 +0100<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Hi Dave,<br><br>up to now the reduce-point-xxx options are used for the DouglasPeuckerFilter<br>which smoothes lines at lower resolutions. They are ignored for resolution 24,<br>in which the WrongAngleFixer is used to guess how an object can be placed on<br>the Garmin raster so that it looks as much as possible like the OSM described by<br>the OSM data. If you want to play with that:<br>The WrongAngleFixer has a few constants,<br>e.g. you may increase the value <br>MAX_DIFF_ANGLE_STRAIGHT_LINE = 3;<br>or change the method calcMaxErrorDistance()<br>to allow larger errors.<br><br>Gerd<br><br><br><br><div><hr id="ecxstopSpelling">From: daveswarthout@gmail.com<br>Date: Fri, 30 Jan 2015 07:14:07 +0700<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: Re: [mkgmap-dev] Lines distorted<br><br><div dir="ltr">I want to continue Enrico's questioning a bit. I have a similar issue with the way polygons display on my Garmin device. What appears as a smooth curve on the OSM slippy map are very blocky on the device. I have played with the reduce-point-density=4 and reduce-point-density-polygon=8 parameters in an attempt to smooth those curves but they seem to have no effect. I can live with the distortion but I wonder, what do these two parameters actually control?<div><br></div><div>Cheers,</div><div>Dave</div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Fri, Jan 30, 2015 at 12:22 AM, Andrzej Popowski <span dir="ltr"><<a href="mailto:popej@poczta.onet.pl" target="_blank">popej@poczta.onet.pl</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">Hi Enrico,<br>
<br>
Garmin maps have limited resolution, about 2.4m. One can't draw precisely a line, which length is near to this resolution.<br>
<br>
You can try to assign the same Garmin object type to all these segments, then probably mkgmap will be able to merge them and smooth.<span><font color="#888888"><br>
<br>
-- <br>
Best regards,<br>
Andrzej</font></span><div><div><br>
<br>
______________________________<u></u>_________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/<u></u>mailman/listinfo/mkgmap-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Dave Swarthout<br>Homer, Alaska<br>Chiang Mai, Thailand<br>Travel Blog at <a href="http://dswarthout.blogspot.com" target="_blank">http://dswarthout.blogspot.com</a></div></div>
</div></div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                            </div></div>                                            </div></body>
</html>