Hi all,

I'm looking for an Othodromic distance formula taking the elevation of
points beside the lat/lon couples to give the metric distance between two
earth surface GPS locations.

The only one I know is currently

d=2*asin(sqrt((sin((lat1-lat2)/2))^2 +
cos(lat1)*cos(lat2)*(sin((lon1-lon2)/2))^2))

but it only accepts lat/lon and deviation may be important by hundred of
meters of height between the 2 locations (especially on short distances).

Can someone help me ?

Cheers !


*François Lacombe*

fl dot infosreseaux At gmail dot com
www.infos-reseaux.com
@InfosReseaux <http://www.twitter.com/InfosReseaux>
_______________________________________________
dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/dev

Reply via email to