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 allBasic Examples (2)
Scope (4)
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]:
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