<br><font size=2 face="sans-serif">Oliver,</font>
<br>
<br><font size=2 face="sans-serif">Sounds like you want to use the Vincinty
calculations for geodesic distance. Try one of these sites: http://www.movable-type.co.uk/scripts/LatLongVincenty.html
or http://www.ga.gov.au/geodesy/datums/vincenty_inverse.jsp</font>
<br>
<br>
<br><font size=2 face="sans-serif">Mike</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Michael P. Finn<br>
Research Cartographer<br>
National Geospatial Technical Operations Center<br>
U. S. Geological Survey<br>
Rolla, MO<br>
<br>
(573) 308-3931<br>
mfinn@usgs.gov <br>
<br>
http://carto-research.er.usgs.gov/<br>
</font>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Oliver Eichler &lt;oliver.eichler@dspsolutions.de&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: proj-bounces@lists.maptools.org</font>
<p><font size=1 face="sans-serif">01/22/2007 05:14 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
oliver.eichler@dspsolutions.de; Please respond to<br>
&quot;PROJ.4 and general Projections Discussions&quot; &nbsp; &nbsp; &nbsp;
&nbsp;&lt;proj@lists.maptools.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">proj@lists.maptools.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[Proj] C API to calculate distances</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt><br>
Hi,<br>
<br>
I wonder if there is a C API to calculate the real great circle distance<br>
of two points on a WGS84 ellipsoid. I know there is &quot;geod&quot; on
the<br>
command line. I had a look at it's source code however this looked quite<br>
complicated. As this must be a standard problem isn't there something like;<br>
<br>
distance(p1,p1, d, dir)<br>
<br>
p1: &nbsp;point 1<br>
p2: &nbsp;point 2<br>
d: &nbsp; distance<br>
dir: direction in degrees<br>
<br>
<br>
<br>
<br>
<br>
Oliver<br>
_______________________________________________<br>
Proj mailing list<br>
Proj@lists.maptools.org<br>
http://lists.maptools.org/mailman/listinfo/proj<br>
</tt></font>
<br>