Dec. 26, 2013
11:41 a.m.
Hi Sven, 2013/12/26 Sven Van Caekenberghe <sven@stfx.eu>:
Hi Esteban, On 26 Dec 2013, at 02:23, Esteban A. Maringolo <emaringolo@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]
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