gives the azimuthal direction from one latitude-longitude position on the Earth to another.
gives the azimuthal direction between locations specified by position objects or geographic entities.
- Geo direction is also known as azimuth or bearing.
- GeoDirection[loc1,loc2] gives the clockwise angle measured at loc1 between true north and the geodesic from loc1 to loc2. Heights are ignored.
- The result is returned as a Quantity angle with "AngularDegrees" unit.
- Latitudes and longitudes can be given as numbers in degrees, as DMS strings, or as Quantity angles.
- Position objects in GeoDirection[loc1,loc2] can be given as GeoPosition, GeoPositionXYZ, GeoPositionENU, or GeoGridPosition objects.
- GeoDirection[loc1,loc2] by default uses the reference ellipsoid associated with the datum for loc1.
- GeoDirection and GeoDistance solve the geodetic inverse problem.
Examplesopen allclose all
Basic Examples (2)
Height and time information is ignored in GeoDirection computations:
Properties & Relations (8)
GeoDirection is not a symmetric function:
GeoDirection is not a smooth function for nearly antipodal points:
Wolfram Research (2008), GeoDirection, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoDirection.html (updated 2014).
Wolfram Language. 2008. "GeoDirection." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/GeoDirection.html.
Wolfram Language. (2008). GeoDirection. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoDirection.html