[OSM-dev] Orthodromic distance with elevation
François Lacombe
fl.infosreseaux at gmail.com
Wed Mar 11 23:42:58 UTC 2015
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20150312/2d69954f/attachment.html>
More information about the dev
mailing list