Hi Andrzej,

yes, that's what I've done in the patch.
I have to do some more checks before I commit that.

Gerd


> Date: Wed, 24 Dec 2014 13:52:41 +0100
> From: popej@poczta.onet.pl
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] Error in distance calculations
>
> Hi Gerd,
>
> I think your calculations are OK for small distances.
>
> You could check latitude spread and switch to more complex calculations,
> similarly like you have for distance() function.
>
> --
> Best regards,
> Andrzej
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev