GeoDirection

GeoDirection[{lat1,lon1},{lat2,lon2}]
gives the azimuthal direction from one latitude-longitude position on the Earth to another.

GeoDirection[loc1,loc2]
gives the azimuthal direction between locations specified by position objects or geographic entities.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Forward azimuthal angle between two positions on the reference ellipsoid:

In[1]:=
Click for copyable input
Out[1]=

Azimuth angle between two fully specified geodetic positions:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)
| Updated in 2014
(10.0)