Showing posts with label Geocoding. Show all posts
Showing posts with label Geocoding. Show all posts

Tuesday, June 22, 2010

To get the Latitude Longitude for any location

Type below for XML response

http://maps.google.com/maps/api/geocode/xml?address=1600+Pennsylvania+Ave,+Washington+D.C.&sensor=false


for JSON
http://maps.google.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true_or_false


or type
http://geocoder.us/demo.cgi?address=4950+stevenson+blvd+%2Cfremont+ca+94538
to get the lat and log

for details read below article
http://code.google.com/apis/maps/documentation/geocoding/index.html#Geocoding
http://www.4guysfromrolla.com/articles/060210-1.aspx

Monday, June 21, 2010

Geocoding

Read this article for better understanding.

http://www.4guysfromrolla.com/articles/051910-1.aspx

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.

Reverse geocoding is the opposite: finding an associated textual location such as a street address, from geographic coordinates.

A geocoder is a piece of software or a (web) service that helps in this process.

A simple method of geocoding is address interpolation. This method makes use of data from a street geographic information system where the street network is already mapped within the geographic coordinate space. Each street segment is attributed with address ranges (e.g. house numbers from one segment to the next). Geocoding takes an address, matches it to a street and specific segment (such as a block, in towns that use the "block" convention). Geocoding then interpolates the position of the address, within the range along the segment

Type
http://maps.google.com/maps/api/geocode/xml?address=1600+Pennsylvania+Ave,+Washington+D.C.&sensor=false
in the address bar and you would get the xml response