Hi Sven, 2013/12/26 Sven Van Caekenberghe <s...@stfx.eu>: > Hi Esteban, > On 26 Dec 2013, at 02:23, Esteban A. Maringolo <emaring...@gmail.com> wrote: >> Answering myself... >> >> I found a solution and transcribed it: http://pastebin.com/ThKDXCKK > > This is the formula that we have been using for years in Pharo, Java[Script], > Common Lisp: > > distanceBetween: firstPosition and: secondPosition > "T3GeoTools distanceBetween: 5.33732@50.926 and: 5.49705@50.82733"
[snip] > http://www.movable-type.co.uk/scripts/latlong.html According to this website your implementation uses the "Spherical law of cosines" whilst mine uses the Haversine formula. Yours is simpler, no doubt. Best regards! Esteban A. Maringolo