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
13
votes
2 answers

How to GeoCode a simple address using Data Science Toolbox

I am fed up with Google's geocoding, and decided to try an alternative. The Data Science Toolkit (http://www.datasciencetoolkit.org) allows you to Geocode unlimited number of addresses. R has an excellent package that serves as a wrapper for its…
Jose R
  • 930
  • 1
  • 11
  • 22
13
votes
1 answer

Where to place API key for Google Geocoding API?

We use Google Geocoding API to map address to Latitude and Longitude. Here is the sample URL for encoding (which returns json) - http://maps.googleapis.com/maps/api/geocode/json?address=Dallas&sensor=false Message: OVER_QUERY_LIMIT Ok, it makes…
Win
  • 61,100
  • 13
  • 102
  • 181
13
votes
4 answers

Getting street,city and country by reverse geocoding using google

I'm trying to getting the $street, $city and $country string from google json. It works for my home address : http://maps.googleapis.com/maps/api/geocode/json?latlng=52.108662,6.307370&sensor=true $url =…
Ruben
  • 192
  • 1
  • 2
  • 10
13
votes
3 answers

Get only IATA code with geocoding

How can I have just the IATA codes with Google Maps? I just found out how to get the address and city, but I need to grab just the IATA code, like NYC or JFK etc. How can I do that? Thanks for your help.
thegrede
  • 492
  • 1
  • 6
  • 18
12
votes
4 answers

Implementing a geographic coordinate class: equality comparison

I 'm integrating a geographic coordinate class from CodePlex to my personal "toolbox" library. This class uses float fields to store latitude and longitude. Since the class GeoCoordinate implements IEquatable, I habitually wrote the…
Jon
  • 428,835
  • 81
  • 738
  • 806
12
votes
2 answers

Calculate latitude and longitude having meters distance from another latitude/longitude point

I need to calculate latitude and longitude of a given point. I know latitude and longitude of a reference point, and an value indicating meters on x and y axis from the reference point. Starting from this data I have to find latitude and longitude…
Sabrina
  • 171
  • 2
  • 7
12
votes
2 answers

Adding google maps markers by an address instead of coordinates?

In my Flex project, can I add markers by its address instead of this: var myGeographicCoordinates:LatLng = new LatLng(myLatitude, myLongitude); for example add marker by "Paris, France"
12
votes
2 answers

Scalable international geocoding solutions

We want out website to support international geocoding. We are wary of using APIs that throttle and/or cap requests, which could leave us with our pants down as the service gains volume. How do modern websites such as Facebook implement geocoding?…
adowds
  • 221
  • 2
  • 9
12
votes
3 answers

Calculate 100 meter distance when the latitude and longitude is a known point

I want to know if it is possible to calculate a 100 meter distance around a given point with a known latitude and longitude. I have some coordinates in a MySQL database and want to know if a specific coordinate lies in 100 meter range from a given…
SilentCoder
  • 271
  • 3
  • 7
  • 16
12
votes
3 answers

Google Maps Geocode Undefined

I have this code which is initated on load // Display the map function map_it() { var myLatlng = new google.maps.LatLng(13.005621, 77.577531); var myOptions = { zoom: zoomLevel, center: myLatlng, disableDefaultUI:…
Harsha M V
  • 54,075
  • 125
  • 354
  • 529
12
votes
2 answers

Is a point inside or outside a polygon which is on the surface of a globe

How do I determine if a point is inside or outside a polygon that lies on the the surface of the earth? The inside of the polygon can be determined via the right hand rule, ie. the inside of the polygon is on your right hand side when you walk…
richard
  • 2,887
  • 5
  • 26
  • 36
12
votes
3 answers

Geocode batch addresses in R with open mapquestapi

Objective: Using R, get latitude and longitude data for a vector of addresses through open.mapquestapi Point of departure: Since geocode from the ggmap package is restricted to 2500 queries a day, I needed to find a different way (My data.frame…
Daniel Schultz
  • 320
  • 2
  • 13
12
votes
2 answers

How to get City / State / Country for Mapbox using reverse geocoding?

I've read this API and tested out a lot of coordinates based on some of the examples https://www.mapbox.com/developers/api/geocoding/ is an example that gives a lot of information, the problem is there's no easy way to get just the city, state, and…
somedirection
  • 657
  • 1
  • 7
  • 15
12
votes
6 answers

Get latitude and longitude based on Address using Geocoder class in iOS

I got the current location based on the Longitude and Latitude values and then I also got multiple places on google map using Annotation. Now I want to get the longitude and latitude values based on the Address( i.e street,city and county).Need some…
user3792517
  • 123
  • 1
  • 1
  • 6
12
votes
4 answers

R trying to find latitude/longitude data for cities in europe and getting geocode error messege

I recently posted a question regarding plotting postions on cities in europe as points on a map. See R, get longitude/latitude data for cities and add it to my dataframe cities xlsx file contains about 20000 cities in europe. I got an error message…
jonas
  • 13,559
  • 22
  • 57
  • 75