<div dir="ltr"><div><div>Hi all,<br><br></div>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.<br><br></div>The only one I know is currently <br><div><div><br><pre>d=2*asin(sqrt((sin((lat1-lat2)/2))^2 + cos(lat1)*cos(lat2)*(sin((lon1-lon2)/2))^2))</pre></div><div>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).<br><br></div><div>Can someone help me ?<br><br></div><div>Cheers !<br><br></div><div><div><br clear="all"><div><div><div class="gmail_signature"><div dir="ltr"><b>François Lacombe</b><br><br>fl dot infosreseaux At gmail dot com<br><a href="http://www.infos-reseaux.com" target="_blank">www.infos-reseaux.com</a><br><a href="http://www.twitter.com/InfosReseaux" target="_blank">@InfosReseaux</a></div></div></div>
</div></div></div></div></div>