LatitudeLongitude

LatitudeLongitude[pos]

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

LatitudeLongitude[pos,datum]

gives the latitude and longitude referring to the specified geodetic datum.

Details

Examples

open allclose all

Basic Examples  (4)

Extract the latitude and longitude from a geodetic position:

Compute the latitude and longitude of a position given in projected coordinates:

Latitude and longitude of Madrid:

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

Scope  (10)

Find your current latitude and longitude:

This is equivalent to the following:

Extract the latitude and longitude of a GeoPosition object:

Compute the latitude and longitude of any type of geo location:

Get the latitude and longitude of a geo entity:

This is equivalent to the following:

Extract the latitudes and longitudes of the locations in a GeoPosition array:

The result is given as a QuantityArray object, which can be normalized using Normal:

Get the latitudes and 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:

LatitudeLongitude 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:

LatitudeLongitude returns the coordinates of that location as a pair of Quantity objects:

The "LatitudeLongitude" property of GeoPosition objects returns a numeric result in degrees:

The presence of elevation or temporal data does not affect the values of latitude and longitude:

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

Text

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

CMS

Wolfram Language. 2008. "LatitudeLongitude." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/LatitudeLongitude.html.

APA

Wolfram Language. (2008). LatitudeLongitude. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LatitudeLongitude.html

BibTeX

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

BibLaTeX

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