LatitudeLongitude
✖
LatitudeLongitude
gives a list of the latitude and longitude in degrees of a geographic position specified by pos.
gives the latitude and longitude referring to the specified geodetic datum.
Details

- LatitudeLongitude[pos] returns a pair {lat,lon} of Quantity angles in degrees .
- Latitude is in the range
to
.
- Longitudes are taken to be positive to the east.
- The position pos in LatitudeLongitude[pos] can be a GeoPosition, GeoGridPosition, or other position object. It can also be a geo Entity object.
- LatitudeLongitude[] is equivalent to LatitudeLongitude[$GeoLocation].
- LatitudeLongitude gives the geodetic latitude; GeodesyData gives conversions to other forms of latitude.
- If no datum is given, LatitudeLongitude assumes positions to refer to the International Terrestrial Reference Frame 2000.
Examples
open allclose allBasic Examples (4)Summary of the most common use cases
Extract the latitude and longitude from a geodetic position:

https://wolfram.com/xid/0dbkshi854zz32ad5s-wfr8g0

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

https://wolfram.com/xid/0dbkshi854zz32ad5s-skihho

Latitude and longitude of Madrid:

https://wolfram.com/xid/0dbkshi854zz32ad5s-zzw30q

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

https://wolfram.com/xid/0dbkshi854zz32ad5s-bz1ezc

Scope (10)Survey of the scope of standard use cases
Find your current latitude and longitude:

https://wolfram.com/xid/0dbkshi854zz32ad5s-whz16r

This is equivalent to the following:

https://wolfram.com/xid/0dbkshi854zz32ad5s-0e3xcd

Extract the latitude and longitude of a GeoPosition object:

https://wolfram.com/xid/0dbkshi854zz32ad5s-px5kx4

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

https://wolfram.com/xid/0dbkshi854zz32ad5s-n58f05


https://wolfram.com/xid/0dbkshi854zz32ad5s-5gip6m


https://wolfram.com/xid/0dbkshi854zz32ad5s-w9xmee


https://wolfram.com/xid/0dbkshi854zz32ad5s-yvvgna

Get the latitude and longitude of a geo entity:

https://wolfram.com/xid/0dbkshi854zz32ad5s-733io2

This is equivalent to the following:

https://wolfram.com/xid/0dbkshi854zz32ad5s-7gaukf


https://wolfram.com/xid/0dbkshi854zz32ad5s-4l1ibo

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

https://wolfram.com/xid/0dbkshi854zz32ad5s-v3cxyi


https://wolfram.com/xid/0dbkshi854zz32ad5s-1vli53

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

https://wolfram.com/xid/0dbkshi854zz32ad5s-ndhtc0

Get the latitudes and longitudes of the elements of a geo entity class:

https://wolfram.com/xid/0dbkshi854zz32ad5s-68gwqw

That is equivalent to the following:

https://wolfram.com/xid/0dbkshi854zz32ad5s-lap1h


https://wolfram.com/xid/0dbkshi854zz32ad5s-0d6rt7

Extract the longitude of a geo location in a given datum:

https://wolfram.com/xid/0dbkshi854zz32ad5s-dyww0z

LatitudeLongitude automatically threads over lists of locations:

https://wolfram.com/xid/0dbkshi854zz32ad5s-v0762w


https://wolfram.com/xid/0dbkshi854zz32ad5s-r6a5ee

Extract Exif location information from an image:

https://wolfram.com/xid/0dbkshi854zz32ad5s-ydivdh


https://wolfram.com/xid/0dbkshi854zz32ad5s-gayb87


https://wolfram.com/xid/0dbkshi854zz32ad5s-4yqklk

These are the current longitudes of the magnetic poles, as determined by GeomagneticModelData:

https://wolfram.com/xid/0dbkshi854zz32ad5s-g480yf


https://wolfram.com/xid/0dbkshi854zz32ad5s-7tkfbe

Properties & Relations (2)Properties of the function, and connections to other functions
Take a GeoPosition object:

https://wolfram.com/xid/0dbkshi854zz32ad5s-cho889

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

https://wolfram.com/xid/0dbkshi854zz32ad5s-35y3uh

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

https://wolfram.com/xid/0dbkshi854zz32ad5s-svu2n6

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

https://wolfram.com/xid/0dbkshi854zz32ad5s-y1vq3j


https://wolfram.com/xid/0dbkshi854zz32ad5s-gz1b26

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).
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.
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
Wolfram Language. (2008). LatitudeLongitude. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LatitudeLongitude.html
BibTeX
@misc{reference.wolfram_2025_latitudelongitude, author="Wolfram Research", title="{LatitudeLongitude}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/LatitudeLongitude.html}", note=[Accessed: 08-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_latitudelongitude, organization={Wolfram Research}, title={LatitudeLongitude}, year={2020}, url={https://reference.wolfram.com/language/ref/LatitudeLongitude.html}, note=[Accessed: 08-June-2025
]}