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

Home » Public Forums » archive » Nautical Miles to Lat/Lon Degrees
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Nautical Miles to Lat/Lon Degrees [message #17042] Thu, 09 September 1999 00:00 Go to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Hi Folks,

Does anyone know off-hand the formula for converting nautical
miles to degrees of latitude and longitude for a given
latitude and longitude? Pointers to appropriate reference
materials is also appreciated.

Thanks,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Nautical Miles to Lat/Lon Degrees [message #17101 is a reply to message #17042] Sat, 11 September 1999 00:00 Go to previous message
Charlie Snedaker is currently offline  Charlie Snedaker
Messages: 1
Registered: September 1999
Junior Member
David,

A nautical mile is, by definition, 1/60 th of a degree of latitude (I
can only give you a reference to Webster's unabridged dictionary as most
of my technical references are at work). The only problem comes when
converting from nautical miles to degrees of longitude since that will
vary according to the latitude. The relations then are

deg_latitude = 1/60 * nm_distance_lat
deg_longitude = (1/60) *nm_distance_long / COS(latitude*!DTOR)

The longitude relationshop has a singularity at +/- 90 degrees since at
the North or South poles an arbitrarily small change in position can
cause a large change in longitude. I would think trapping that condition
and setting the conversion to 180 degrees would be better than letting
it blow up.

Of course, if the distance of interest does not lie along a parallel of
latitude or a meridian of longitude then you have to decompose the
distance into a 'latitudinal' distance and 'longitudinal' distance
before applying the above formulas. Lets say the distance of interest
makes an angle theta with respect to a parallel of latitude. Then just
decompose the distance via

nm_distance_lat = nm_distance * SIN(theta * !DTOR)
nm_distance_long = nm_distance * COS(theta * !DTOR) .

Charlie

David Fanning wrote:

> Hi Folks,
>
> Does anyone know off-hand the formula for converting nautical
> miles to degrees of latitude and longitude for a given
> latitude and longitude? Pointers to appropriate reference
> materials is also appreciated.
>
> Thanks,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
Re: Nautical Miles to Lat/Lon Degrees [message #17126 is a reply to message #17042] Fri, 10 September 1999 00:00 Go to previous message
Struan Gray is currently offline  Struan Gray
Messages: 178
Registered: December 1995
Senior Member
William Thompson, thompson@orpheus.nascom.nasa.gov writes:

> http://physics.nist.gov/cuu/Units/outside.html

I'd be the first to agree that my dim recollection of a sailing
navigation course I took twenty years ago isn't exactly an
NIST-traceable standard. It's nice to know that the old grey matter
got close enough. Thanks for the ref.


Struan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PLOT command window dimensions?
Next Topic: Re: !ORDER=1

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

Current Time: Wed Oct 08 14:01:03 PDT 2025

Total time taken to generate the page: 0.00564 seconds