comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Finding distance with longitude and latitude
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Finding distance with longitude and latitude [message #83982 is a reply to message #83961] Mon, 15 April 2013 04:13 Go to previous messageGo to previous message
seanelvidge is currently offline  seanelvidge
Messages: 11
Registered: January 2013
Junior Member
> Now I am trying to find the distance between longitude and latitude points using the vincenty formula form here: http://en.wikipedia.org/wiki/Great-circle_distance. I have completed this and I am getting logical answers I am just wondering if it is accurate or a correct.
>

Vincenty's formula is the traditional approach to solving geodesic problems on an ellipsoid. However this method can fail under certain conditions, one of which being for near antipodal points.

However recently, Karney described a more accurate, robust and quicker solution to this problem using Newton's Method. (Described in his paper 'Algorithms for Geodesics' http://link.springer.com/content/pdf/10.1007%2Fs00190-012-05 78-z).

On Karney's site he has implementations of this for C++, C, Fortran, Python, Javascript and Matlab. In adition he provides an online calculator (http://geographiclib.sourceforge.net/cgi-bin/GeodSolve).

If you would like to use our IDL implementation of Karney's solution to this problem you can download it here: http://seanelvidge.com/wp-content/uploads/2013/04/inverse_ge odesic.pro
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can I export a few million geocoded points from IDL to ArcMap?
Next Topic: Cubic root finding on a grid

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 01:00:43 PDT 2025

Total time taken to generate the page: 0.55690 seconds