View Single Post
  #2   Report Post  
otnmbrd
 
Posts: n/a
Default Calculating distance from Lat/Long


If you have a Bowditch, look under "Sailings" or look in Bowditch online
for the same info.
What you need will be in there.

otn

Lloyd Sumpter wrote:
Hi,

I'm writing a program for Linux that displays position (from GPS) on a
scanned-in chart, and would like it to calculate distance from current
position to the cursor.

How do you calculate distance between two points using lat/long? If
they're due North/South, I can do it ( 1 minute of lat = 1 NM) but how do
you calculate distance from longitude? Perhaps some formula based on the
circumfrence of the Earth at the equator and the latitude?

Lloyd Sumpter