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
1
vote
1 answer

Need to calculate latitude longitude from postal code database when location has multiple codes

How do I calculate the lat/lon for a given location from a postal code database when there are multiple codes for a given location? For example, New York City has 165 postal codes. SQL example (There is also a Latitude and Longitude column in the…
Redtopia
  • 4,947
  • 7
  • 45
  • 68
1
vote
1 answer

IE8 - Geocode Ajax call never succeeds

Please excuse my bad english, I'm french ;) SO, I've to make an Ajax call you this kind of url : http://maps.googleapis.com/maps/api/geocode/json?latlng=45.85941212790755,0&sensor=true With this code : $.ajax({…
Florian Mac Langlade
  • 1,863
  • 7
  • 28
  • 57
1
vote
1 answer

Google geocode address resolution

Why is it that certain common addresses won't resolve using the API but they show up fine in google maps? 1400 Welton Street, Denver, CO http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=1400+Welton+Street, Denver,+CO Google…
1
vote
2 answers

Geokit LatLng midpoint between two points

Hi im using ruby Geokit::LatLng class to store latitude and longitude and trying to find the midpoint between few points . i noticed a problem with this gem or i may have misunderstood the concepts . a =…
Amerrnath
  • 2,227
  • 4
  • 22
  • 33
1
vote
1 answer

change location to coordinates and also call didUpdateUserLocation method

This is my implementation file : #import "mapViewController.h" @interface mapViewController () @end @implementation mapViewController @synthesize mapView,source,dest,latdest,latsource,longdest,longsource; - (id)initWithNibName:(NSString…
Pradeep Mittal
  • 595
  • 1
  • 8
  • 19
1
vote
2 answers

google geocode not working for addresses with special characters from database

I'm having an issue with special characters for addresses from my database for google geocode, but not if I hardcode them. Simple geocode code $url = "http://maps.googleapis.com/maps/api/geocode/json?address=". $address . "&sensor=true"; …
user2484214
  • 143
  • 1
  • 3
  • 12
1
vote
1 answer

Parsed XML variable changing when in cfquery? - Coldfusion and Bing

Really confused here. I am parsing an XML geocode from Bing - and I seem to be getting the variable just fine. However, when I use that variable in my Query - I don't get the value of the variable - but the entire XML string?!
1
vote
1 answer

Google Maps API - Geocode countries then zoom to bounds of country on click

I have the following code which places country markers on a google map using the Geocoding API. This is fine, but I would now like to zoom into the bounds of that country when I click on the marker, but I'm totally stuck! Any ideas? Javascript: var…
Tom
  • 12,776
  • 48
  • 145
  • 240
1
vote
2 answers

How to invoke webservice from SQL Server stored procedure

I would like to know how to use a web service from a SQL Server stored procedure. I have a table in which the columns specify the city and state of the user. I want to pass this address as a parameter to Google Geocoding API web service and get the…
Mahe
  • 2,707
  • 13
  • 50
  • 69
1
vote
1 answer

Java function that accepts address and returns longitude and latitude coordinates

I am looking for a simple java function that can accept an address and return the longitude and latitude coordinates for that address. Based on my research this is what i found thus far: I am abit unsure how to implements this. I am not sure what…
devdar
  • 5,564
  • 28
  • 100
  • 153
1
vote
1 answer

Google Geocoding API HTTP Request denied - Ruby

The following (and other similar) HTTP request to the Google geocoding API comes out correctly when I paste it into my browser http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false And…
Tommy Nicholas
  • 1,133
  • 5
  • 20
  • 31
1
vote
1 answer

Create array of polygon coordinates from the xml

I have polygon coordinates in XML file to display the polygon shapes on Google map and I just want to get them from the xml and needs to create array like below. var triangleCoords = [ new…
1
vote
1 answer

Bing Maps GeoCodeService and Addresses

I have some problems with my bing maps. The first one happens when I click on My Location - from almost all locations I were it worked fine, but there are some locations that returns null, why? (It happened me in a new building that hasn't address…
Misha Zaslavsky
  • 8,414
  • 11
  • 70
  • 116
1
vote
2 answers

How to avoid getting different city in return value for zipcodes shared by 2 cities

we are trying to use Google API from CRM system to populate / validate addresses on the cases. In situations where a zip's post office in different city, the address is returned incorrectly. For e.g. zip 53227 is shared by 2 cities (West Allis and…
1
vote
1 answer

Different latitude and longitude using google maps and ggmap geocode function

I am trying to plot the nearest Walmart store in Canada to a certain post code using ggmap. The function used to get the location is: goodPoint<-geocode("M1L2K1 walmart canada") This returned the lat and lon: > goodPoint lon lat 1 …
gabrown86
  • 1,719
  • 3
  • 12
  • 18
1 2 3
99
100