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.
Details
- 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.
- Longitude[] is equivalent to Longitude[$GeoLocation].
- If no datum is given, Longitude assumes positions to refer to the International Terrestrial Reference Frame 2000.
Examples
open allclose allBasic Examples (5)
Scope (10)
This is equivalent to the following:
Extract the longitude of a GeoPosition object:
Compute the longitude of any type of geo location:
Get the longitude of a geo entity:
This is equivalent to the following:
Extract the longitudes of the locations in a GeoPosition array:
Get the longitudes of the elements of a geo entity class:
That is equivalent to the following:
Extract the longitude of a geo location in a given datum:
Longitude automatically threads over lists of locations:
Extract Exif location information from an image:
These are the current longitudes of the magnetic poles, as determined by GeomagneticModelData:
Properties & Relations (2)
Take a GeoPosition object:
Longitude returns the longitude of that location as a Quantity object:
The "Longitude" property of GeoPosition objects returns a numeric result in degrees:
The presence of elevation or temporal data does not affect the value of longitude:
Text
Wolfram Research (2008), Longitude, Wolfram Language function, https://reference.wolfram.com/language/ref/Longitude.html (updated 2020).
CMS
Wolfram Language. 2008. "Longitude." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/Longitude.html.
APA
Wolfram Language. (2008). Longitude. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Longitude.html