GeoDisplacement
GeoDisplacement[{dist,α}]
represents a geodesic displacement of length dist and initial bearing α from a geo location.
GeoDisplacement[{dist,α},pathtype]
represents a displacement of length dist and initial bearing α along a path of type pathtype.
GeoDisplacement[loc1,loc2,pathtype]
returns the displacement needed to reach loc2 from loc1 along a path of type pathtype.
Details

- The distance dist can be given as a Quantity length or as a number in meters.
- The bearing α is measured clockwise from true north (geodetic north). It can be given as a Quantity angle, a number in degrees, a DMS string, or a named compass point like "N" or "SouthWest".
- Locations loci in GeoDisplacement[loc1,loc2,pathtype] can be given as geographic Entity objects, {lat,lon} pairs in degrees, GeoPosition objects, or any other geodetic position specification.
- GeoDisplacement[loc1,loc2] assumes a path of type "Geodesic".
- The list of possible path types is given in the documentation of GeoPath.
- GeoDisplacement can be used with GeoDestination to compute sequences of displacements and with GeoPath to draw them.
Examples
open all close allBasic Examples (4)
Compute a destination location moving 10000 kilometers from another location:
Compute a list of intermediate destinations:
A random path of 100 geodesic steps of 5000 kilometers with random bearings:
Compute distance and direction along a rhumb line from Tokyo to Paris:
Compute distance and direction along a geodesic:
Compare the rhumb line (in red) with the geodesic (in blue) in a world map: