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

Examples

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 geo entity class:

Scope  (10)

Find your current longitude:

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:

Named locations:

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:

Possible Issues  (1)

Longitude values can be given in any determination, not necessarily between and degrees:

Wolfram Research (2008), Longitude, Wolfram Language function, https://reference.wolfram.com/language/ref/Longitude.html (updated 2020).

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

BibTeX

@misc{reference.wolfram_2024_longitude, author="Wolfram Research", title="{Longitude}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/Longitude.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_longitude, organization={Wolfram Research}, title={Longitude}, year={2020}, url={https://reference.wolfram.com/language/ref/Longitude.html}, note=[Accessed: 22-November-2024 ]}