Tuesday, July 12, 2011

Geocoding an address with Google Maps API in Java

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.
I made a simple method that giving an address it returns a list of with the corresponding formatted address, latitue, longitide, separated by ";".


Here is the class XMLHandler to parse the XML answer

No comments: