Questions tagged [geocoding]

Geocoding is a method to find the coordinates (e.g. latitude and longitude) of a data record (e.g. an address or zip code) or of an object which represents some other geographic data (e.g. country name, landmark, etc).

Geocoding is the process of finding associated geographic coordinates (often expressed as latitude and longitude) from other geographic data, such as street addresses, or ZIP codes (postal codes). With geographic coordinates the features can be mapped and entered into Geographic Information Systems, or the coordinates can be embedded into media such as digital photographs via geotagging.

The opposite, , is finding a textual location (such as a street address), from geographic coordinates.

A common use case is to find a record based on given address data - like city name, zip code, street name and house number or special points of interest - in a geo database which holds information about longitude, latitude or nodes in a road network for each address record.

Geocoding in software programs is often either supported as an interactive dialog based process, as an automatic batch process for geocoding mass data or a combination of both methods. Geocoding can be a highly sophisticated task as it often has to deal with unstructured or poorly structured address data and ambiguous or localized representations of addresses. The quality of geocoding results depends not only on the underlying geo database but also on the quality of string parsing and search algorithms which try to find a matching record as unambiguously as possible.

Geocoding is an important feature in - for example - Geographic Information Systems (GIS), Navigation Systems, Route Planning or Transport Management Systems.

The process of adding geographical identification metadata to various media such as photographs or videos, websites, SMS messages, QR codes, or RSS feeds. This data usually consists of latitude and longitude coordinates, though they can also include altitude, bearing, distance, accuracy data, and place names.


Useful links


Related tags

3226 questions
32
votes
5 answers

Which are the best geo Coding APIs available for free?

I want to use geo coding services in my site which are the APIs available for this, Java based solutions will be preferred and I want to use this in a commercial project so please suggest appropriate options i.e. APIs which can be used in such…
Amit
  • 13,134
  • 17
  • 77
  • 148
32
votes
4 answers

how to model a postal address

I need to model a postal address that can have multiline street address, the city, the state (province), and the postal code. the country is omitted. I need to preserve line breaks in the street addresses but still be able to search the addresses. I…
akonsu
  • 28,824
  • 33
  • 119
  • 194
32
votes
5 answers

Google Javascript API Geocoding Limits

What are the limits for client side geocoding with Google Maps JavaScript API v3? My research: Google Maps PHP API has a limit of 2500 geocode requests per day (https://developers.google.com/maps/documentation/geocoding/#Limits) Google Maps…
cantaffordavan
  • 1,427
  • 4
  • 24
  • 44
31
votes
5 answers

Geocode an IP address?

Does anyone know of any open RESTful API that I can call to geocode a user's IP to the latitude and longitude? Ideally, it would be something like: http://google.com/geocode_api/?IP=1.2.3.4 and it would return the latitude and longtitude.
Tim
  • 311
  • 1
  • 3
  • 3
31
votes
14 answers

How can I find the center of a cluster of data points?

Let's say I plotted the position of a helicopter every day for the past year and came up with the following map: Any human looking at this would be able to tell me that this helicopter is based out of Chicago. How can I find the same result in…
Ryan
  • 14,682
  • 32
  • 106
  • 179
31
votes
4 answers

R convert zipcode or lat/long to county

I have a list of locations that contains a city, state, zip, latitude and longitude for each location. I separately have a list of economic indicators at the county level. I've played with the zipcode package, the ggmap package, and several other…
screechOwl
  • 27,310
  • 61
  • 158
  • 267
29
votes
7 answers

Check if a geopoint with latitude and longitude is within a shapefile

How can I check if a geopoint is within the area of a given shapefile? I managed to load a shapefile in python, but can't get any further.
Gerald Bäck
  • 445
  • 1
  • 5
  • 7
28
votes
5 answers

How to implement auto-complete for address using Apple Map Kit

I want to auto-complete the address for the user as same as what google api provides in this link: https://developers.google.com/maps/documentation/javascript/places-autocomplete?hl=en How can i implement the same functionality using apple map…
Mostafa
  • 1,522
  • 2
  • 18
  • 34
26
votes
6 answers

Correct address format to get the most accurate results from google GeoCoding API

Is there any standard format to supply the address string to Google GeoCoding API to get the most accurate results on map. For Eg. following query not giving correct…
mandeep-dhiman
  • 2,505
  • 2
  • 21
  • 31
26
votes
3 answers

Geocoding address into coordinates in iPhone

I am trying to geocode address into coordinates using following code: CLGeocoder *geocoder = [[CLGeocoder alloc] init]; [geocoder geocodeAddressString:@"6138 Bollinger Road, San Jose, United States" completionHandler:^(NSArray* placemarks,…
pankaj
  • 7,878
  • 16
  • 69
  • 115
25
votes
3 answers

Obtain latitude and longitude from address without the use of Google API

I am currently working on a large population-based database where it is required that I compute the distance between two addresses for each individual. My first train of thought was to obtain the latitude and longitude representing each address and…
user1106711
  • 355
  • 1
  • 4
  • 8
25
votes
6 answers

Geocoding in R with Google Maps

I've tried running the code to geocode locations in R via Google Maps and the XML package from this blog post: http://www.r-chart.com/2010/07/maps-geocoding-and-r-user-conference.html Here are his functions: getDocNodeVal=function(doc, path){ …
JoFrhwld
  • 8,867
  • 4
  • 37
  • 32
24
votes
4 answers

CLPlacemark to string in iOS 9

I want to format CLPlacemark to string. The well known way is to use ABCreateStringWithAddressDictionary but it was deprecated in iOS 9. Warning tells me to use CNPostalAddressFormatter instead. However, CNPostalAddressFormatter can only format…
Mostafa
  • 1,522
  • 2
  • 18
  • 34
24
votes
4 answers

Trilateration using 3 latitude and longitude points, and 3 distances

There exists an unknown target location (latitude and longitude co-ordinates). I have 3 latitude and longitude co-ordinate pairs and for each pair a distance in kilometers to the target location. How can I calculate the co-ordinates of the target…
nohat
  • 7,113
  • 10
  • 40
  • 43
23
votes
6 answers

Google maps - how to get building's polygon coordinates from address?

How to implement the following: User defines an address User defines a color Service searches for a corresponding building on the google map Service fills the found building on the map with the color I know how to: 1.find lat/long of the…
Konstantin Chernov
  • 1,899
  • 2
  • 21
  • 37