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[pos] returns a Quantity angle in degree.
  • Longitudes are taken to be positive to the east.
  • The position pos in Longitude[pos] can be a GeoPosition, GeoGridPosition, or other position object. It can also be a geo Entity object.
  • If no datum is given, Longitude assumes positions to refer to the International Terrestrial Reference Frame 2000.

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

Extract the longitude from a geodetic position:

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

Compute the longitude of a position given in projected coordinates:

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

Longitude of Madrid:

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

Compute the longitude of a geodetic position, transforming to the "NAD83CORS96" datum:

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

Compute the longitude of a list of geo entities:

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