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


gives the longitude referring to the specified geodetic datum.


  • 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.


open allclose all

Basic Examples  (5)

Extract the longitude from a geodetic position:

Compute the longitude of a position given in projected coordinates:

Longitude of Madrid:

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

Compute the longitude of a list of geo entities:

Scope  (1)

Introduced in 2008