<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 Andrzej,<br><br>yes, that's what I've done in the patch.<br>I have to do some more checks before I commit that.<br><br>Gerd<br><br><br><div>&gt; Date: Wed, 24 Dec 2014 13:52:41 +0100<br>&gt; From: popej@poczta.onet.pl<br>&gt; To: mkgmap-dev@lists.mkgmap.org.uk<br>&gt; Subject: Re: [mkgmap-dev] Error in distance calculations<br>&gt; <br>&gt; Hi Gerd,<br>&gt; <br>&gt; I think your calculations are OK for small distances.<br>&gt; <br>&gt; You could check latitude spread and switch to more complex calculations, <br>&gt; similarly like you have for distance() function.<br>&gt; <br>&gt; -- <br>&gt; Best regards,<br>&gt; Andrzej<br>&gt; _______________________________________________<br>&gt; mkgmap-dev mailing list<br>&gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                               </div></body>
</html>