Computing Distances between Latitudes/Longitudes in One Step

Stephen P. Morse, San Francisco




From:
degrees minutes seconds
Latitude . of the Equator
Longitude . of Greenwich
   
decimal
Latitude
Longitude

To:
degrees minutes seconds
Latitude . of the Equator
Longitude . of Greenwich
   
decimal
Latitude
Longitude




Distance (as the crow flies) is 0.00 miles -- spherical earth
Distance (as the crow wobbles) is 0.00 miles -- ellipsoidal earth


Distance computations based on a spherical earth use the formula appearing at mathforum.com
Distance calculations based on an ellipsoidal earth use the formula developed by Thaddeus Vincenty

© Stephen P. Morse, 2008