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 #65584] Thu, 12 March 2009 07:20 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Mar 12, 8:02 am, mankoff <mank...@gmail.com> wrote:
> 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.

...or SPHDIST in the Astronomy User's Library.

-Jeremy.
[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 14:11:46 PDT 2025

Total time taken to generate the page: 1.08841 seconds