Longitude

Longitude[pos]
gives the longitude in degrees of a geographic position specified by pos.

Longitude[pos,datum]
gives the longitude referring to the specified geodetic datum.

DetailsDetails

  • Longitude returns a value in the range from -180 to +360.
  • Longitudes are taken to be positive to the east.
  • The position pos in Longitude[pos] can be a GeoPosition, GeoGridPosition, or other position object.
  • If no datum is given, Longitude assumes positions to refer to the International Terrestrial Reference Frame 2000.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Extract the longitude from a geodetic position:

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

Compute the longitude corresponding to a projected coordinate:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)