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 "nnn.nnn.nnn.nnn".
  • 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

Basic Examples  (1)

Find your geodetic coordinates:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

See Also

$GeoLocation  $MachineAddresses  $MachineDomains  CityData  GeoPosition  WikipediaData

Introduced in 2008
(7.0)
| Updated in 2014
(10.0)