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
15
votes
7 answers

How to geocode address by google maps iOS API?

I found one way to send request: A Google Maps Geocoding API request takes the following form: https://maps.googleapis.com/maps/api/geocode/outputFormat?parameters where outputFormat may be either of the following values: json (recommended)…
Jurasic
  • 1,845
  • 1
  • 23
  • 29
15
votes
1 answer

How can we get tweets from specific country

I've read a lot about this part and what I found is to write the geocode and search for tweets for example https://api.twitter.com/1.1/search/tweets.json?geocode=37.781157,-122.398720,1mi&count=10 according to what i found in twitter website Returns…
user2490790
  • 225
  • 1
  • 2
  • 8
15
votes
2 answers

Difference between viewport and bounds in google geocoding

What the difference between viewport and bounds rects in google geocoding api? For big countries (USA, Russia) viewport differs from bounds (sample request for Canada: http://maps.googleapis.com/maps/api/geocode/xml?address=Canada&sensor=false, but…
Ivan Kochurkin
  • 4,413
  • 8
  • 45
  • 80
15
votes
1 answer

Why is the `sll` query parameter for a Maps URL being (sort of) ignored?

According to various references, Google Maps has a query param called sll which does the following: Latitude,longitude of the point from which the business search should be performed. You could use this to perform an off-centre busness search.…
Adrian Petrescu
  • 16,629
  • 6
  • 56
  • 82
15
votes
1 answer

CLGeocoder geocoding is hopelessly inaccurate

I have an App that does forward geocoding (get coordinates given address) to display a bunch of pins on an MKMapView. The app was developed well before iOS supported forward geocoding using CLGeocoder (first available in iOS 5). As such my app uses…
mluisbrown
  • 14,448
  • 7
  • 58
  • 86
14
votes
6 answers

Converting latitude/longitude into city name? (reverse geolocating)

I'm working on a job board in Codeigniter PHP + jQuery where employers enter their location and we use Google Maps API to plot it. While this has had awesome usability results, the problem is when we try to display these locations to job seekers…
Walker
  • 128,495
  • 27
  • 68
  • 94
14
votes
2 answers

How do I find the polygon nearest to a point in R?

I have a spatial points data frame and a spatial polygons data frame. For example, my polygons would be a polygon for each block in Manhattan. And the points are people, which are scattered all over, sometimes falling in the middle of a street,…
Kiefer
  • 163
  • 2
  • 8
14
votes
6 answers

GeoCoder Service not Available

GeoCoder Service not Available I'm using the GeoCoder to get an AddressLocation. Unfortunately the method fires an IOException saying: "Service not Available". This StackOverFlow thread explains what is going on because I tested it thoroughly (user…
14
votes
7 answers

Forward geocoding from the iPhone

Given that the mapkit doesn't provide forward geocoding functionality today, can anyone provide help on how I can i use a search bar to return a latitude and longitude coordinate from a user inputted address today. If someone can provide sample code…
Zap
13
votes
7 answers

Geocode database

Can I download address,city,state,postalcode - latitude/longitude information, that can be loaded to a db for US alone.. Also do comment about their accuracy and coverage.. I suppose all GPS devices do this.. any pointers where I can extract this…
Ramya
  • 6,405
  • 5
  • 23
  • 23
13
votes
6 answers

Why doesn't file_get_contents work?

Why does file_get_contents not work for me? In the test file code below, it seems that everyone's examples that I've searched for all have this function listed, but it never gets executed. Is this a problem with the web hosting service? Can…
PVJAZZ
  • 139
  • 1
  • 1
  • 3
13
votes
5 answers

What's the best way to lookup the US county a US city resides in?

I'm looking for the best/easiest way to programmatically grab the name of the US county a given US city resides in. It doesn't seem there's a straightforward API available for such a (seemingly simple) task?
Cucumber2
  • 153
  • 1
  • 1
  • 5
13
votes
3 answers

InvalidValueError: initAutocomplete is not a function Google Places and Autocomplete API

Hope you can help as I've hit a wall, I'm also quite new to using Google's Places APIs. I'm not going to post any code just yet as my code works fine when the 2 pieces I am about to describe run in isolation. I am using Google's Places in addition…
13
votes
1 answer

Full Screen Google Map

How can I use Google Maps API to show me a full screen map with no sidebars or search bar? I just need it to show a specific location in a mobile app, users don't need to search. Is this possible? Also if I provide a street address how can it put a…
Yazzmi
  • 1,541
  • 5
  • 18
  • 33
13
votes
6 answers

How to detect that a point is inside a Polygon using Google Maps?

I would like to detect that a google.maps.LatLng is inside a google.maps.Polygon. How can I do that ? Cheers,
Natim
  • 17,274
  • 23
  • 92
  • 150