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 from along a path of type pathtype.

DetailsDetails

  • 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 or .
  • Locations in GeoDisplacement[loc1,loc2,pathtype] can be given as geographic Entity objects, pairs in degrees, GeoPosition objects, or any other geodetic position specification.
  • GeoDisplacement[loc1,loc2] assumes a path of type .
  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Compute a destination location moving 10000 kilometers from another location:

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

Compute a list of intermediate destinations:

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

A random path of 100 geodesic steps of 5000 kilometers with random bearings:

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

Compute distance and direction along a rhumb line from Tokyo to Paris:

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

Compute distance and direction along a geodesic:

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

Compare the rhumb line (in red) with the geodesic (in blue) in a world map:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2014
(10.0)