FindGeoLocation

FindGeoLocation[]

attempts to find the current geo location of your computer.

FindGeoLocation["ip"]

gives an estimate of the geo location associated with the IP address given.

FindGeoLocation["address"]

attempts to find the geo location associated with the street address given.

FindGeoLocation[entity]

gives the geo location associated with the specified entity.

Details

  • FindGeoLocation[] may use built-in GPS or other capabilities, or may use geoIP lookup through the internet. Different methods may give results with different accuracy or correctness.
  • IP addresses can be specified in the form "nnn.nnn.nnn.nnn" or as IPAddress[].
  • FindGeoLocation returns a GeoPosition object containing {latitude,longitude} or {latitude,longitude,elevation} or containing Missing["NotAvailable"] if it cannot find an explicit geodetic location.
  • FindGeoLocation utilizes data from OpenStreetMap, © OpenStreetMap contributors.

Examples

open allclose all

Basic Examples  (2)

Find your geodetic coordinates:

Find the coordinates of a famous square in Paris:

Get a satellite map of the area:

Scope  (4)

Find your current position:

Find the coordinates of a street address:

Find the coordinates corresponding to an IP address:

The IP address can also be provided directly:

Find the coordinates of a geo entity:

Properties & Relations  (3)

The default values of $GeoLocation and Here are determined by FindGeoLocation[]:

If the value of $GeoLocation is manually changed, then FindGeoLocation can be used to restore its default:

FindGeoLocation[entity] is equivalent to GeoPosition[entity] and EntityValue[entity, "Position"]:

For a street address stad, FindGeoLocation[stad] is equivalent to Interpreter["StreetAddress"][stad]:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_findgeolocation, organization={Wolfram Research}, title={FindGeoLocation}, year={2014}, url={https://reference.wolfram.com/language/ref/FindGeoLocation.html}, note=[Accessed: 18-December-2024 ]}