GeoVectorENU

GeoVectorENU[loc{ve,vn}]

represents a horizontal two-dimensional vector of components ve and vn in an orthonormal frame tangent to the Earth at geo location loc.

GeoVectorENU[loc{ve,vn,vu}]

represents a three-dimensional vector of horizontal components ve and vn, and vertical component vu at geo location loc.

GeoVectorENU[{loc1,loc2,}{vec1,vec2,}]

represents a collection of vectors veci at respective geo locations loci.

GeoVectorENU[{loc1vec1,loc2vec2,}]

represents the same collection of vectors.

GeoVectorENU[vec]

represents a geo vector whose associated location has been implicitly specified.

Details

  • GeoVectorENU[] can represent any vectorial magnitude on the surface of the Earth or any other celestial globe, like wind speed, magnetic field, scalar gradients, etc.
  • GeoVectorENU describes data using an orthonormal frame tangent to the reference ellipsoid at the given location.
  • In GeoVectorENU[locvec], the components of the vector vec can be quantities, but their units must be compatible.
  • In GeoVectorENU[locvec], the location loc can be given as a {lat,lon} pair in degrees, a geo Entity object or any geo location object with head GeoPosition or similar.
  • GeoVectorENU[GeoVector[]] converts a vector in GeoVector form to GeoVectorENU form, and similarly for GeoVectorXYZ and GeoGridVector objects.
  • GeoVectorENU[][prop] gives the specified property of a geo vector.
  • Possible properties include:
  • "Count"number of vectors in the GeoVectorENU object
    "Data"first argument of the GeoVectorENU object
    "Depth"vector depth: 0 for a single vector, 1 for a list of them,
    "Location"location data of the GeoVectorENU object
    "LocationDimension"number of coordinates for each position
    "LocationPackingType"Integer or Real if positions are packed; None otherwise
    "Vector"vector data of the GeoVectorENU object
    "VectorDimension"number of components for each vector
    "VectorPackingType"Integer or Real if vectors are packed; None otherwise

Examples

open all close all

Basic Examples  (1)

Get a 3D GeoVectorENU object describing the magnetic field at your geo location:

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

Place a dart with such horizontal direction in a local map of your area and compare with local meridians:

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

To see the deviation angle, convert to polar GeoVector form:

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

Show the direction in a world map with a different geo projection, using a smaller dart:

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

Scope  (8)

Properties & Relations  (2)

Introduced in 2019
(12.0)