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
53
votes
17 answers

Determine timezone from latitude/longitude without using web services like Geonames.org

is there any possibility to determine the timezone of point (lat/lon) without using webservices? Geonames.org is not stable enough for me to use :( I need this to work in PHP. Thanks
Jacek Francuz
  • 2,420
  • 8
  • 45
  • 61
53
votes
7 answers

How to simulate browsing from various locations?

I want to check a particular website from various locations. For example, I see a site example.com from the US and it works fine. The colleague in Europe says he cannot see the site (gets a dns eror). Is there any way I can check that for my self…
schar
  • 2,618
  • 5
  • 25
  • 24
51
votes
10 answers

Looking for ways for a robot to locate itself in the house

I am hacking a vacuum cleaner robot to control it with a microcontroller (Arduino). I want to make it more efficient when cleaning a room. For now, it just go straight and turn when it hits something. But I have trouble finding the best algorithm or…
Matthieu Napoli
  • 48,448
  • 45
  • 173
  • 261
50
votes
8 answers

Network location provider at 'https://www.googleapis.com/' : Returned error code 403 in Webapp

I am using Geolocation.watchPosition() and I get the following error on callback Network location provider at 'https://www.googleapis.com/' : Returned error code 403. This seems to be only happening in chrome desktop browser. firefox seems to be…
jasan
  • 11,475
  • 22
  • 57
  • 97
50
votes
1 answer

google.maps.Geocoder.geocode() geometry.location lat/lng property names change frequently

I have an application, and I'm using the Google Javascript Geocoding API to fetch lat/lng for an address. The code goes something like geocoder = new google.maps.Geocoder() geocoder.geocode({ 'address': query }, function(results, status) { …
tomwoods
  • 1,125
  • 1
  • 12
  • 19
49
votes
6 answers

iOS 8 requestWhenInUseAuthorization no Popup

I tried to make my AppProject iOS 8 ready. I had read a lot about [_locationManager requestWhenInUseAuthorization]; and the entry in plist NSLocationWhenInUseUsageDescription So I changed all the necessary code lines. It works fine, but now I have…
Marcus
  • 757
  • 3
  • 9
  • 15
48
votes
11 answers

function fail never called if user declines to share geolocation in firefox

So I have this javascript code. In safari and chrome, if user declines to share location, it goes to fail function as it should; however, in Firefox, it does not. Any helps appreciated. function initGeolocation() { if( navigator.geolocation ) …
theRealWorld
  • 1,188
  • 2
  • 8
  • 23
48
votes
3 answers

What is meaning of negative dbm in signal strength?

When we try to get nearby cells and their LAC, MNC, signal (and while using other android apps) we are getting signal as negative value (like -85dbm). How should I take this? Should I ignore -ve sign and take absolute value or -85 is smaller…
Pranit Kothari
  • 9,721
  • 10
  • 61
  • 137
48
votes
5 answers

NETWORK_PROVIDER not providing updated locations

LocationManager locationManager = (LocationManager)getApp().getSystemService(Context.LOCATION_SERVICE); //getApp() returns my Application object locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER , 1, 1,…
hersh
  • 589
  • 1
  • 4
  • 6
46
votes
3 answers

Google API for location, based on user IP address

I am looking for a way to get the user's current location (city) based on is IP address using the Google Maps APIs. Something similar to http://freegeoip.net/json but only using the Google Maps APIs. Is this possible?
Ankit
  • 481
  • 1
  • 4
  • 5
46
votes
9 answers

Converting latitude and longitude to decimal values

I have GPS information presented in the form: 36°57'9" N 110°4'21" W I can use the javascript functions of Chris Veness to convert degrees, minutes and seconds to numeric degrees, but first need to parse the GPS info into the individual latitude and…
Joe Colson
45
votes
7 answers

Get a user's current location

How can I determine a user's current location based on IP address (I guess it works this way).
Jacek Francuz
  • 2,420
  • 8
  • 45
  • 61
45
votes
3 answers

Google+ API : Get Profile's currentLocation

I'm currently building a test and trying to get a google+ user location. I'm testing on myself and have set my position to public. I was originally planning to use Google Latitude, however, since Google is deprecating this API in a few days, my only…
littlebridge
  • 691
  • 6
  • 10
44
votes
4 answers

Return distance in elasticsearch results?

My question is similar to this one. Simply, is there a way to return the geo distance when NOT sorting with _geo_distance? Update: To clarify, I want the results in random order AND include distance.
Yeggeps
  • 2,055
  • 2
  • 25
  • 34
44
votes
3 answers

Get visitors language & country code with javascript (client-side)

Question: Is there a javascript (client-side) code to get visitors country/language code, that is accurate and is cross-"modern"-browser ? I am looking for results like 'en-US', 'sv-SE', 'nl-NL', etc. Related questions to this have been asked before…
Sergio
  • 28,539
  • 11
  • 85
  • 132