about ideas locate links contact

Locator

This JavaScript app calculates distances and directions from one location on the surface of Earth towards another, both the “as the bird flies” surface distance, and the “as the neutrino flies” straight-line distance. This straight-line direction to another location on Earth may be pointed out with the angles of azimuth and inclination:

Azimuth – compass heading when leaving your location traveling towards another along a great circle path (shortest surface route), where North=0°, East=90°, South=180° and West=270°.

Inclination – angle below horizontal of the straight line path to a distant location, where 0° is horizontal & local, and 90° points straight down through the center of the Earth to the antipode.

select two cities:

 
city 1
latitude:
longitude:
 
city 2
latitude:
longitude:
 directions and distances between cities:
 
inclination: deg
azimuth: deg
back azimuth: deg
 
surface distance: km
miles
nautical miles
 
straight-line distance: km
miles
nautical miles
 
or enter lat / lon coordinates:

 
location 1
latitude: d m s
longitude: d m s
 
location 2
latitude: d m s
longitude: d m s
 
 
 directions & distances between locations:
 
inclination: deg
azimuth: deg
back azimuth: deg
 
surface distance: km
miles
nautical miles
 
straight-line distance: km
miles
nautical miles
 

Calculations assume Earth to be spherical with a 6366.707 km radius. If you come across any errors or have ideas about how to improve the code, please pass along your observations.