<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'>Hi Enrico,<br><br>I forgot to mention that the options are not used for shapes, only for lines.<br><br>Gerd<br><br><br><div><hr id="stopSpelling">From: gpetermann_muenchen@hotmail.com<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Date: Fri, 30 Jan 2015 10:47:07 +0100<br>Subject: Re: [mkgmap-dev] FW: Lines distorted<br><br>
<div dir="ltr">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Hi Enrico,<br><br>attached is a quick patch that implements three new experimental options:<br>--x-waf-max-bearing-error=15<br>--x-waf-max-angle=3<br>--x-waf-max-error-percentage=100<br><br>Meaning:<br>--x-waf-max-bearing-error=15<br>The algo calculates the delta of the displayed baring and the real<br>bearing in OSM. If the delta is larger than this, it tries to correct something.<br>Try values between 10 and 20.<br><br>--x-waf-max-angle=3<br>This is used to detect obsolete points.<br>If the 3 consecutive points (P1,P2,P3) in a line form an angle < x-waf-max-angle,<br>it is a candidate for removal. The point P2 is removed<br>if the distance to the straight line between P1 and P3 is small enough.<br>A higher value means that more points may be removed.<br>Reasonable values are probably between 1 and 5.<br><br>--x-waf-max-error-percentage=100<br>This value is used in the method that decides if the distance to the straight<br>line is small enough. A higher value means more points are removed.<br>Reasonable values are probably between 50 and 200.<br><br>The binary based on r3430 is here:<br><code><a href="http://files.mkgmap.org.uk/download/243/mkgmap.jar" target="_blank">http://files.mkgmap.org.uk/download/243/mkgmap.jar</a><br><br></code><br>If you find better values than the defaults, please let us know. The defaults<br>are a compromize of calculation time and quality.<br><br>Gerd<br><br><br><br><div>> Date: Fri, 30 Jan 2015 01:57:31 -0700<br>> From: e.rossini73@alice.it<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] FW: Lines distorted<br>> <br>> ehm, I don't know how to modify the java source and compile my own library...<br>> <br>> <br>> <br>> --<br>> View this message in context: http://gis.19327.n5.nabble.com/Distorted-lines-tp5831842p5831910.html<br>> Sent from the Mkgmap Development mailing list archive at Nabble.com.<br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></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></body>
</html>