GeoPosition

GeoPosition[{, }]
represents a geodetic position with latitude and longitude .

GeoPosition[{, , h}]
represents a geodetic position with height h relative to the reference ellipsoid.

GeoPosition[{, , h}, datum]
represents a geodetic position referring to the specified datum.

DetailsDetails

  • GeoPosition[pos, datum] converts from any type of geographic position. The following coordinate types can be given: GeoPosition, GeoPositionXYZ, GeoPositionENU, GeoGridPosition.
  • GeoPosition[GeoPosition[...], datum] converts between datums.
  • Standard datums can be specified by name.
  • Typical named datums include:
  • "ITRF00"international Terrestrial Reference Frame 2000
    "NAD27"North American Datum of 1927
    "NAD83CORS96"North American Datum of 1983 (CORS96)
  • The complete list of named datums and reference ellipsoids is given by GeodesyData[].
  • GeoPosition coordinates are assumed to have a time coordinate equal to the reference epoch date of the datum.
  • GeoPosition[{, , h, t}] includes a time, given as a date t in decimal years.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Geodetic position in the default reference frame:

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

A position that explicitly refers to the ITRF00 reference frame:

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

Convert this position to NAD 83 (CORS96) coordinates:

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

Convert to Cartesian geocentric coordinates:

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

Convert back to geodetic coordinates:

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

Convert back to ITRF00:

In[5]:=
Click for copyable input
Out[5]=
New in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »