This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

GeoDirection

GeoDirection[{lat1, long1}, {lat2, long2}]
gives the azimuthal direction from one latitude-longitude position on the Earth to another.
GeoDirection[pos1, pos2]
gives the azimuthal direction between positions specified by position objects.
  • Latitudes, longitudes and directions are given in degrees.
  • GeoDirection["latlong1", "latlong2"] gives the direction between positions specified by latitudes and longitudes given as strings.
  • GeoDirection gives the angle in degrees relative to due north to get from one position to the other, when projected onto a reference ellipsoid. Heights are ignored.
  • GeoDirection[pos1, pos2] by default uses the reference ellipsoid associated with the datum for pos1.
  • The algorithm used by GeoDirection can be specified by setting the Method option to one of the following values: "Vincenty75", "Robbin61", "ExtendedNewtonRaphson".
Forward azimuthal angle between two positions on the reference ellipsoid:
Forward azimuthal angle between two positions on the reference ellipsoid:
In[1]:=
Click for copyable input
Out[1]=
New in 7