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
10
votes
1 answer

GeoCoding Issues with OpenStreetMap/Nominatim

I have a website which needs to obtain the Latitude and Longitude for the address entered by the customer. Google/Bing/Yahoo are too expensive for us so we went with OpenStreetMap/Nominatim. Unfortunately while it worked OK during testing, its…
Dale K
  • 25,246
  • 15
  • 42
  • 71
9
votes
1 answer

Geocoding without Google API?

I cant find a way to convert an adress to a long/lat coordinate without using google geocoding API. Im working with Open Layers and Open Street Map and have to avoid google api because of the 2.500 views/day limitation.
最白目
  • 3,505
  • 6
  • 59
  • 114
9
votes
2 answers

iPhone - access location information from a photo

Is it possible, in an iPhone app, to extract location information (geocode, I suppose it's called) from a photo taken with the iPhone camera? If there is no API call to do it, is there any known way to parse the bytes of data to extract the…
bpapa
  • 21,409
  • 25
  • 99
  • 147
9
votes
2 answers

How can I find the nearest intersection via the Google Maps API?

How can I find the closest intersection of the street I have coordinates of? For instance, say I have street A running from south to north that is crossed by street X on the north and by street Y on the south. Does the Google Maps API allow for…
dusoft
  • 11,289
  • 5
  • 38
  • 44
9
votes
2 answers

Generate random latitude-longitude values within an area(country/city)

How can I get thousands of geographic coordinates (long/lat) randomly generated that remains within a specific country ? It's for an application i'm doing and i need test data. I preffer it in JSON format.
Xsmael
  • 3,624
  • 7
  • 44
  • 60
9
votes
3 answers

US Address Validation (Zip+4)

I have a database that has a list of zip codes which has latitude, longitude, state, city, state fips code, time zone, etc. I'd like to extend this and write either a C# function or TSQL (SQL Server 2008) function that will take a street, city,…
NTBuddy
  • 299
  • 3
  • 16
9
votes
3 answers

Calculate point between two coordinates based on a percentage

I am looking for a function that returns a point (lat, long) between two points (where I also specify their lat, long) and that point is based on a distance percentage. So, I specify Lat1, Lon1, Lat2, Lon2 and a % on the function and, it returns a…
mignz
  • 3,648
  • 2
  • 20
  • 21
9
votes
1 answer

Google Maps APIv3 elevation resolution

I'm building a web application that uses elevations along a path, so I'm using the Maps API to extract elevations. However, it is important that I know the degree of accuracy of this information. The API documentation states that the elevation…
cn198
  • 93
  • 1
  • 5
9
votes
2 answers

Address Standardization/Correction/Geocoding

My place of employment is looking into buying a third party tool, for batch based US and Canadian Address correction, with Geo-coding. What Products have you used? What do you like about them? What do you not like about them? Note that, We are a…
EvilTeach
  • 28,120
  • 21
  • 85
  • 141
9
votes
3 answers

Get latitude and longitude based on zip using Geocoder class in IOS

I got the current location based on Longitude and latitude values and then I also got Multiple places on google map using Annotation now I want get longitude and latitude values based on Zip code I don't know how to get Longitude and latitude…
user3239699
9
votes
3 answers

Getting the street address from a google maps geocode call

I am geocoding an address using google maps API, and I need to get the street address, city, state, and zip in distinct fields. Based on the documentation of the address component types that are returned in the result, this is my code: var address =…
froadie
  • 79,995
  • 75
  • 166
  • 235
9
votes
2 answers

Validate Geolocation latitude and longitude

I have a Ruby on Rails model Camping with #latitude and #longitude attributes. This should be validated. It must be validated so that: The values are correctly formatted. E.g. 48.8582 and 2.2945 but also 48.8 and 2.2. Any precision should be…
berkes
  • 26,996
  • 27
  • 115
  • 206
9
votes
2 answers

CLGeocodeCompletionHandler only has one placemark entry

The documentation for - (void)geocodeAddressString:(NSString *)addressString completionHandler:(CLGeocodeCompletionHandler)completionHandler; The documentation clearly states: In the case of forward-geocoding requests, multiple placemark objects …
Nils Munch
  • 8,805
  • 11
  • 51
  • 103
9
votes
1 answer

Are there any good opensource geoparsers available?

Are there any good opensource Geoparsers? There are several free solutions (services) available (e.g. Yahoo's placemaker, EDINA's Unlock Text) but they do not appear to be opensource. Ideally the parser should be aimed to mine location information…
Enno Shioji
  • 26,542
  • 13
  • 70
  • 109
8
votes
4 answers

using jquery.getJson with Google's GeoCoding HTTP Service

Google offers a wonderful REST interface for geocoding and reverse geocoding an address. My API key is valid, and if I enter the request directly into the browser address it works great. However, the following jquery fails terrible and I'm failing…
Scott
  • 11,046
  • 10
  • 51
  • 83