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
3
votes
0 answers

How does mobile safari determine when to prompt user to share location?

I have a mobile web app where I want to track the latest location for a user, but only if they are in a certain area. But, having a little trouble with excessive prompts on the iPhone There's some location initialization code along the lines of: if…
RyanW
  • 5,338
  • 4
  • 46
  • 58
3
votes
3 answers

How do you figure out if a location is rural or urban in Android?

I have a location's latitude and longitude as well as the complete address. How do I figure out if it is an urban area or a rural area? Is there an API service available or something else I could use?
Niladri_Android
  • 145
  • 1
  • 12
3
votes
1 answer

Computing which points (latitude, longitude) are within a certain distance in mysql?

There are two points A, B, and distances x (miles from A), and y (miles from B). Let the distance from A to B be N. So, A is N miles away from B. How do I solve the problem: What are the points available that are (N + x + y) miles away from A? …
Derek
  • 11,980
  • 26
  • 103
  • 162
3
votes
1 answer

Inserting Lat/Long spatial extensions into MySQL

I'm wanting to put polygons into a MySQL database and then with PHP be able to query if a latitude/longitiude point is inside the polygon. Any pointers here. Never done anything like this yet.
3
votes
1 answer

How to get HTML5 position in WebView updated at a regular interval (with FINE_ACCURACY)

I'm developing an application to track my phone at regular intervals (not only the first time) with navigator.geolocation.getCurrentPosition() running in an HTML5 page running in a webkit webview running in an android 2.1 application. I already read…
giowild
  • 479
  • 5
  • 17
3
votes
2 answers

Is current location within radius of items stored in a table?

I have a table that stores longitude / latitude / radius ( miles ) per row. What I am trying to figure out is how to select ONLY the rows that my current point is within. This is the opposite of querying locations within a given radius of my current…
3
votes
5 answers

How to get the latitude and longitude or gps data quickly while we are indoor in an android phone?

I'm trying to get the latitude and longitude information from an android phone through GPS, when i'm outdoor or under the sky directly i'm able to get the values instantly but when i'm indoor or inside a room its taking more than a minute to get the…
ksushanth
  • 31
  • 2
3
votes
2 answers

Confused by W3C geolocation example code — will it loop infinitely if a position can’t be found?

I am a bit concerned about the safety of this code example in the W3C Geolocation spec: // Forcing the user agent to return a fresh cached position. // Request a position. We only accept cached positions whose age is not // greater than 10 minutes.…
Richard
  • 62,943
  • 126
  • 334
  • 542
3
votes
2 answers

Facebook graph API, access location tags in photos and posts

On photos and posts I often see location tags pointing to a Facebook page representing a place. They are typically prepended by "near" , "at" or "in". Does anybody know of a way to access this data via the graph API or any other way? Here is an…
Edouard Tabet
  • 158
  • 1
  • 10
3
votes
3 answers

Unified Android intent for geo check-ins

I want to add a geo check-in (to Facebook places, Foursquare or Gowala) feature to my Android app and I am looking for an appropriate intent to do so. Is there anything like that? If not, what is the best way to interact with the services mentioned…
MBober
  • 1,095
  • 9
  • 25
3
votes
3 answers

HTML5 geolocation not working

I'm trying to learn how to use HTML5 geolocation and am having trouble getting the following script to run properly: