Hi!

I've searched the web for a formula to calculate the distance from 2 points with latitude/longitude:

ACos(Sin(value( "lat1" ))*Sin(value( "lat2" ))+Cos(value( "lat1" ))*Cos(value( "lat2" ))*Cos(value( "long2" )-value( "long1" )))*6371.0

(6371 is the earth radius in km) from here: http://www.movable-type.co.uk/scripts/latlong.html and here: http://itouchmap.com/latlong.html


but the distance dont work for me (in my case should be under 10km, the formula shows me something like 278)

what I'm doing wrong here?!?

thanks for your help!

Richie