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

Home » Public Forums » archive » Re: how to calculate distance from pairs of latitude/longitude measurements?
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: how to calculate distance from pairs of latitude/longitude measurements? [message #65590 is a reply to message #65584] Thu, 12 March 2009 05:02 Go to previous messageGo to previous message
mankoff is currently offline  mankoff
Messages: 131
Registered: March 2004
Senior Member
On Mar 11, 4:33 pm, llo <bernat.puigdomen...@gmail.com> wrote:
> I am working on a project where I will be receiving measurements from
> the Global
> Positioning System, presumably latitude and longitude measurements,
> and I will
> need to calculate the distances between the measurement points. The
> measurements
> will all be taken over a region of only a few miles so I guess I could
> assume
> the earth is flat over this region and just calculate the straight
> line
> distance.
>
> But I was wondering if anyone could help me with a more mathematically
> rigorous method for calculating distance from pairs of latitude/
> longitude
> measurements?
>
> thanks,
>
> llo

As mentioned below map_2points works. I've found distance_sphere (in
the ICG library) to be handy because it works with vectors.

-k.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: OpenADDE and IDL
Next Topic: Need Help Resolving ENDIF Errors

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

Current Time: Sun Oct 12 11:31:56 PDT 2025

Total time taken to generate the page: 0.35049 seconds