GeoDestination

GeoDestination[loc,{d,α}]

gives the end position of the geodesic of length d starting from loc with azimuthal direction α.

Details

  • The location loc in GeoDestination[loc,] can be specified as {lat,lon} coordinates, as a GeoPosition, GeoPositionXYZ, GeoPositionENU, or GeoGridPosition object, or as a geographical entity Entity[].
  • The distance d can be given as a Quantity length or as a number in meters.
  • The bearing or azimuthal direction α is an angle measured clockwise from true north. It can be given as a Quantity angle or as a number in degrees.
  • GeoDestination[loc,{{d1,d2,},α}] returns the list of positions at distances di along the geodesic starting from loc with bearing α.
  • GeoDestination[loc,{d,{α1,α2,}}] returns the list of points at distance d along the geodesics starting from loc with bearings αi.
  • GeoDestination[loc,{d,α}] can also be written as GeoDestination[loc,GeoDisplacement[{d,α}]].
  • Use GeoDestination[loc,GeoDisplacement[{d,α},"Rhumb"]] to find the endpoint along a path of length d and constant bearing α.
  • GeoDestination[{lat,lon},] gives the latitude-longitude destination for the default reference ellipsoid.
  • GeoDestination[loc,] finds the destination on the reference ellipsoid associated with the datum for loc. Heights are ignored.
  • GeoDestination solves the geodetic direct or forward problem.

Examples

open allclose all

Basic Examples  (2)

Compute the position reached by moving 100 kilometers north from a starting position:

Move 4000 kilometers along a geodesic with initial bearing 105 degrees:

Plot the geodesic path:

Scope  (9)

Specify the initial position as a {lat,lon} pair in degrees:

GeoDestination preserves the type of geodetic position:

Transform to GeoPositionXYZ:

Transform to GeoGridPosition. The destination is returned in the same projection:

Transform to GeoPositionENU. The destination is given with respect to the same ENU origin:

Use DMS strings to specify the original position or the path to follow:

Use a compass point specification of the initial bearing:

Find destination along a geodesic:

Find destination along a line of constant bearing:

Height and time information is returned unmodified:

Computations are performed using the specified datum:

Differences are small, in this case under 1 arc second:

Specify a list of distances to obtain a list of points along the same geodesic:

Specify a list of bearings to obtain a list of points on a geodesic circle:

Specify both a list of distances and a list of bearings. The result is a matrix of points:

Properties & Relations  (4)

The inverse of GeoDestination is GeoDisplacement:

It can also be obtained as a combination of GeoDistance and GeoDirection:

Compute multiple points along the same geodesic:

Compute points on a geodesic circle of 2000 kilometers around Stockholm:

Compare with the corresponding GeoCircle:

Compute consecutive destination points, all moving 1000 kilometers:

Due to the Earth surface's curvature, the path does not close:

Neat Examples  (2)

Define a function to connect the capitals of two countries by a colored curve of arrows:

Connect all pairs of capitals of South American countries:

Points 20000 kilometers from geo position {0,0} in all directions:

Plot in 3D space:

Introduced in 2008
 (7.0)
 |
Updated in 2014
 (10.0)