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
71
votes
7 answers

How to validate latitude and longitude

I have two UITextFields which users can enter in a latitude and longitude, these co-ordinates are then used to create a pin on an MKMapView. I want find a way to validate whether the values they enter are actual GPS co-ordinates or just a load of…
user843337
71
votes
5 answers

Does GPS require Internet?

Is it necessary to turn both Internet and GPS on before I can read my current location(country, city, locality etc) in my app? If they are, then any alternative way to get the location only from GPS? Since the internet availability is an issue.
Ibad Baig
  • 2,276
  • 5
  • 22
  • 27
69
votes
9 answers

HTML 5 Geo Location Prompt in Chrome

Just starting to get into HTML 5 and an testing out geo location...liking it so far. I am hitting a bit of a speed bump though...when I try to get my geo location, chrome automatically blocks the page from getting my location. This does not happen…
AGoodDisplayName
  • 5,543
  • 7
  • 35
  • 50
68
votes
11 answers

getCurrentPosition() and watchPosition() are deprecated on insecure origins

I am getting this error on my website which requests Geolocation data from the user: getCurrentPosition() and watchPosition() are deprecated on insecure origins, and support will be removed in the future. You should consider switching your…
Jason Axelrod
  • 7,155
  • 10
  • 50
  • 78
67
votes
4 answers

Android: How to initialize a variable of type "Location" (other than making it equal to null)

I'm looking to test some code I've written and to do so I need to construct a variable of type Location and to give it a long / lat value but I'm unsure how I would do so. Any ideas?
Skizit
  • 43,506
  • 91
  • 209
  • 269
64
votes
6 answers

toRad() Javascript function throwing error

I'm trying to find the distance between two points (for which I've latitudes & longitudes) using the technique described here at Calculate distance between two latitude-longitude points? (Haversine formula) The codes are as below Javascript: var R…
ptamzz
  • 9,235
  • 31
  • 91
  • 147
63
votes
2 answers

Best IP to Country Database

We've got a requirement in a couple of our systems to detect a user's country based on their IP address. We'd prefer to use a database rather than a Web Service (to prevent issues with downtime/network access to an externally hosted service) so I'm…
Henry Wilson
  • 3,281
  • 4
  • 31
  • 46
62
votes
6 answers

How to display my location on Google Maps for Android API v2

I've looked high and low for an answer on this, and no one, in any forum question has been able to help. I've searched through the tutorials. The API Guide says: The My Location button appears in the top right corner of the screen only when the…
Yos233
  • 2,396
  • 2
  • 15
  • 15
59
votes
7 answers

Developing Geographic Thematic Maps with R

There are clearly a number of packages in R for all sorts of spatial analysis. That can by seen in the CRAN Task View: Analysis of Spatial Data. These packages are numerous and diverse, but all I want to do is some simple thematic maps. I have data…
JD Long
  • 59,675
  • 58
  • 202
  • 294
58
votes
2 answers

Obtain Latitude and Longitude from a GeoTIFF File

Using GDAL in Python, how do you get the latitude and longitude of a GeoTIFF file? GeoTIFF's do not appear to store any coordinate information. Instead, they store the XY Origin coordinates. However, the XY coordinates do not provide the latitude…
Phanto
  • 1,147
  • 5
  • 16
  • 19
57
votes
3 answers

How to generate and add privacy policy on Google Play?

I have to create and add a privacy policy to my Android app. My app accesses background geolocation data, so whatever policy I add has to include info about how location data is used. Two questions: Is there a standard approach to creating a…
gkeenley
  • 6,088
  • 8
  • 54
  • 129
57
votes
3 answers

Best node.js module for finding location?

I had found couple of node.js modules for finding the information about client location and network using ip address. Requirements: Location - country, city, state, latitude, longitude etc. Network - Internet service Provider, Internet connection…
karthick
  • 5,998
  • 12
  • 52
  • 90
54
votes
3 answers

Ask for geolocation permission again, if it was denied

I'm building an app through phonegap, with a geolocation button. If a user denies permission for geolocation the first time, how can I ask for permission again, when they click the geolocation button again? My code structure at the moment…
rpsep2
  • 3,061
  • 10
  • 39
  • 52
54
votes
6 answers

How does IP geolocating work?

I'm not looking for a service that does this. I'm just curious as to how geolocation works.
weicool
  • 2,613
  • 5
  • 22
  • 19
54
votes
1 answer

Get address from co-ordinates using OpenStreetMap

I'm looking for a solution which gives an address based on co-ordinates (Latitude & Longitude) which I got from html5 geolocation api. I'm using OpenStreetMap.