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
91
votes
8 answers

Get current location of user in Android without using GPS or internet

Is it possible to get the current location of user without using GPS or the internet? I mean with the help of mobile network provider.
Prabhu M
  • 3,534
  • 8
  • 48
  • 87
91
votes
5 answers

SQlite Getting nearest locations (with latitude and longitude)

I have data with latitude and longitude stored in my SQLite database, and I want to get the nearest locations to the parameters I put in (ex. My current location - lat/lng, etc.). I know that this is possible in MySQL, and I've done quite some…
Jure
  • 3,003
  • 3
  • 25
  • 28
91
votes
1 answer

J2ME/Android/BlackBerry - driving directions, route between two locations

On Android 1.0 there was a com.google.googlenav namespace for driving directions: Route - Improved Google Driving Directions But in newer SDK it was removed by some reason... Android: DrivingDirections removed since API 1.0 - how to do it in…
Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114
88
votes
7 answers

How to calculate distance from Wifi router using Signal Strength?

I would like to calculate the exact location of a mobile device inside a building ( so no GPS access) I want to do this using the signal strength(in dBm) of at least 3 fixed wifi signals(3 fixed routers of which I know the position) Google already…
Ihab
  • 2,225
  • 1
  • 20
  • 32
84
votes
13 answers

Alternatives to google maps api

Google maps API is great for developing location based services for mobile phones. But for some reason, the use of it is restricted for me in a special project. E.g. if your project is in conflict with the general terms and conditions of google it…
DarkLeafyGreen
  • 69,338
  • 131
  • 383
  • 601
82
votes
13 answers

FusedLocationApi.getLastLocation always null

I'd like to simply retrieve device location in my Android project and in order to do so I use the play-services approach: protected synchronized void buildGoogleApiClient() { mGoogleApiClient = new GoogleApiClient.Builder(…
Marco Zanetti
  • 4,051
  • 6
  • 32
  • 48
81
votes
3 answers

MongoDB Stored Procedure Equivalent

I have a large CSV file containing a list of stores, in which one of the field is ZipCode. I have a separate MongoDB database called ZipCodes, which stores the latitude and longitude for any given zip code. In SQL Server, I would execute a stored…
Abe
  • 6,386
  • 12
  • 46
  • 75
81
votes
2 answers

How, exactly does HTML5's GeoLocation work?

I know the browser shares my IP address and details of nearby wireless networks to determine my location, but what sort of info does it know about nearby wifi networks? For example, where I live are no public wireless networks, and from my home I…
Dan
  • 811
  • 1
  • 7
  • 3
79
votes
16 answers

OnLocationChanged callback is never called

I am trying to get the users current location using the LocationManager. I have done a lot of research and can't seem to find anyone with the same problem. The OnLocationChanged callback never seems to be called. Below is my various code and the…
smitt04
  • 3,018
  • 2
  • 28
  • 30
79
votes
10 answers

Address validation using Google Maps API

I have a task to validate addresses entered into a system I am currently creating. The system requires that address entered are validated against a valid data source. In the UK the dataset comes from the Royal Mail and is expensive to access. The…
Paul
  • 1,815
  • 5
  • 27
  • 44
75
votes
5 answers

How does HTML5 Geolocation Work?

Chrome and Firefox have HTML Geolocation implemented. My question is: how does it work? Do they have a Database locally and get the information from the provider then try to match it? Where is the DB stored ? Can it be accessed ? Update1: the only…
johnlemon
  • 20,761
  • 42
  • 119
  • 178
75
votes
15 answers

How to obtain longitude and latitude for a street address programmatically (and legally)

Supposedly, it is possible to get this from Google Maps or some such service. (US addresses only is not good enough.)
Ola Eldøy
  • 5,720
  • 7
  • 49
  • 82
73
votes
13 answers

Identifying country by IP address

Is there a way to figure out the country name just by looking at an IP address? I mean, do countries have specific ranges of IP addresses? For example, Australia can have IP addresses only in the range of 123.45.56.89 - 231.54.65.98 (just an…
skos
  • 4,102
  • 8
  • 36
  • 59
73
votes
15 answers

How to get the exact local time of client?

What is the best method to get the clients local time irrespective of the time zone of clients system? I am creating an application and i need to first of all get the exact time and date of the place from where the client is accessing. Even…
user850234
  • 3,373
  • 15
  • 49
  • 83
72
votes
8 answers

Get country from latitude longitude

I would like to know how I can get the country name from latitude & longitude using JavaScript. I am open to use of Google Maps’ JavaScript API. Can I also get city and zip? Edit: My aim is to fill up the address field automatically, not to display…
aWebDeveloper
  • 36,687
  • 39
  • 170
  • 242