Re: [off topic] distance

new topic     » goto parent     » topic index » view thread      » older message » newer message

------=_NextPart_000_0007_01C07310.B6695040
        charset="iso-8859-1"

Kat wrote:

> Hi all, off topic question... does anyone already have code for
determining
> Earth surface distance, given latitude and longitude points of two
locations?

Jiri's code is a good approximation for short distances.  For longer
distances, you should use the Great Circle method.  The attached note gives
a brief description and the formula.  Just be sure to convert degrees to
radians.

-- Colin


------=_NextPart_000_0007_01C07310.B6695040
        name="gt_circ.txt"
Content-Transfer-Encoding: quoted-printable

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu