Questions tagged [geolocation]

Geolocation is the identification of the real-world geographic location of an object, such as a cell phone or an Internet-connected computer terminal. Use [w3c-geolocation] for questions about the W3C Geolocation API.

Geolocation is closely related to positioning but can be distinguished from it by a greater emphasis on determining a meaningful location (e.g. a street address) rather than just a set of geographic coordinates. Specifically this involves the use of advanced RF location systems utilising, for example, Time Difference Of Arrival (TDOA) where greater specificity of location is possible. TDOA systems often utilise mapping displays or other graphical information system. This is in contrast to more traditional radio location technologies, for example Direction Finding where a line of bearing to a transmitter is achieved and not the specific location.

In terms of the internet and computer geolocation can be performed by associating a geographic location with the Internet Protocol (IP) address, MAC address, RFID, hardware embedded article/production number, embedded software number (such as UUID, Exif/IPTC/XMP or modern steganography), invoice, Wi-Fi connection location, or device GPS coordinates, or other, perhaps self-disclosed information. Geolocation usually works by automatically looking up an IP address on a WHOIS service and retrieving the registrant's physical address.

IP address geolocation data can include information such as country, region, city, postal/zip code, latitude, longitude and timezone. Deeper data sets can determine other parameters such as domain name, connection speed, ISP, language, proxies, company name, US DMA/MSA, NAICS codes, and home/business.

The word geolocation is also used in other contexts to refer to the process of inferring the location of a tracked animal based, for instance, on the time history of sunlight brightness or the water temperature and depth measured by an instrument attached to the animal. Such instruments are commonly called archival tags or dataloggers.


Useful links


Related tags

12397 questions
42
votes
10 answers

How to calculate the area of a polygon on the earth's surface using python?

The title basically says it all. I need to calculate the area inside a polygon on the Earth's surface using Python. Calculating area enclosed by arbitrary polygon on Earth's surface says something about it, but remains vague on the technical…
andreas-h
  • 10,679
  • 18
  • 60
  • 78
42
votes
8 answers

LocationListener of NETWORK_PROVIDER is enabled but , onLocationChanged is never called

I am developing an application that gets position of the cell phone all day long in 6 and 6 minutes in a service, it works fine but sometimes the method OnLocationChanged of the Network provider listener stop to being called, and I don't know…
42
votes
3 answers

Location services in mobile Safari: Don't Allow is saved...forever? Even with reset

My web app using location services worked fine until I started testing "Do not allow" use cases. Now an iPhone refuses to ever allow location services, even when I answer "OK" to "Safari" would like to use your current location. To…
Axel
  • 421
  • 1
  • 4
  • 4
41
votes
4 answers

Decoding the Google Maps embedded parameters

The context I would like to be able to extract the location of Google Maps embedded in a website (random example found at the bottom of this website).
Manu CJ
  • 2,629
  • 1
  • 18
  • 29
41
votes
6 answers

When do I need android.hardware.location.gps and android.hardware.location.network?

Google is informing by email of changes to the Android location permissions: We’re making a change on October 15th, 2016 that will affect apps targeting API version 21 (Android 5.0, Lollipop) or higher that use ACCESS_FINE_LOCATION but don't…
mattm
  • 5,851
  • 11
  • 47
  • 77
40
votes
9 answers

Geolocation API on the iPhone

Does anyone know whether the iPhone supports or will soon support the W3C Geolocation specification? I'm looking to build an app for mobile users, but rather than spend the time developing apps for every different platform (iPhone, Android, etc...),…
Codebeef
  • 43,508
  • 23
  • 86
  • 119
39
votes
3 answers

Plot latitude longitude from CSV in Python 3.6

I'm trying to plot a large number of latitude longitude values from a CSV file on a map, having this format (first column and second column): I'm using python 3.6 (apparently some libraries like Basemap doesn't operate on this version). How can I…
Tina J
  • 4,983
  • 13
  • 59
  • 125
39
votes
12 answers

Fused location provider doesn't seem to use GPS receiver

Android 4.3 on Moto G, Android 4.4.2 on Nexus 7 2012, Android 4.4.2 on Nexus 5. Android Studio 0.4. I don't want to receive regular location updates, I just want an accurate location when the user presses a button. I have followed this example:…
cja
  • 9,512
  • 21
  • 75
  • 129
39
votes
5 answers

Get exact geo coordinates along an entire route, Google Maps or OpenStreetMap

Suppose I have a route defined from one town to another. From the Google Maps API I can recover a route between the two. However, the route returned from Google is a driving route that includes geo-coordinates only at places where there is another…
Madeleine P. Vincent
  • 3,361
  • 5
  • 25
  • 30
38
votes
7 answers

Get altitude by longitude and latitude in Android

Is there a quick and efficient way to get altitude (elevation) by longitude and latitude on the Android platform?
Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114
38
votes
12 answers

Error adding geofences in Android (status code 1000)

I am getting an error in the onAddGeofencesResult(int statusCode, String[] geofenceRequestIds) callback with statusCode = 1000. I have my GPS enabled and my WiFi. I also have Google Play Services and I am able to track my location and request…
37
votes
7 answers

How do I request permission for Android Device Location in React Native at run-time?

I have been trying to use React Native 's GeoLocalisation for an Android App. The poorly documentated module is found here https://facebook.github.io/react-native/docs/geolocation.html. According to the documentation, you handle location permissions…
jungleMan
  • 838
  • 1
  • 8
  • 26
37
votes
2 answers

Google maps API - Center map on client's current location

I've looked at the various other times this question has been asked but I can't quite put a finger on where I'm going wrong, here's my code: Map