BEWARE the law of cosines, which is grossly inaccurate for minimal deltas.
IF the distance is a few miles (or more) AND you're using a good COS
algorithm, AND double precision variables - then OK.
Sorry - I'm a mathematician/computer scientist and GIS nerd. I can also
supply documentation tomorrow.


Mark

                -----Original Message-----
                From:   Anker Berg-Sonne [mailto:[EMAIL PROTECTED]]
                Sent:   Wednesday, February 06, 2002 6:15 PM
                To:     Ben Diss; [EMAIL PROTECTED]
                Subject:        Re: [RCSE] Lat/Lon calculations

                Ben,

                I have the formul;a at work. I'll try to remember to post it
tomorrow.
                Remind me of I forget. It involves a bunch of cosines!

                Anker
                ----- Original Message -----
                From: "Ben Diss" <[EMAIL PROTECTED]>
                To: <[EMAIL PROTECTED]>
                Sent: Wednesday, February 06, 2002 8:03 PM
                Subject: [RCSE] Lat/Lon calculations


                > I picked up one of those nifty little GSP units that
records a track.
                I've collected some data (lat/lon/alt/datetime) and now want
to play with
                the numbers.  I'm not a math wiz, so I'm stumped on step 1.
How do I
                calculate the distance between two lat/lon points?  Any
formula would be
                helpful, but a link to some kind of tutorial would be most
appreciated.
                >
                > Thanks.
                >
                > -Ben
                > RCSE-List facilities provided by Model Airplane News.
Send "subscribe"
                and "unsubscribe" requests to [EMAIL PROTECTED]
                >
                >


                RCSE-List facilities provided by Model Airplane News.  Send
"subscribe" and "unsubscribe" requests to [EMAIL PROTECTED]


********************************************************************************
This message is intended only for the use of the Addressee and may
contain information that is PRIVILEGED and CONFIDENTIAL.

If you are not the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please erase all copies of the
message and its attachments and notify Space Imaging immediately.
********************************************************************************

RCSE-List facilities provided by Model Airplane News.  Send "subscribe" and 
"unsubscribe" requests to [EMAIL PROTECTED]

Reply via email to