Correct address format to get the most accurate results from google GeoCoding API

geocodinggoogle-maps-api-3

Is there any standard format to supply the address string to Google GeoCoding API to get the most accurate results on map.

For Eg. following query not giving correct result.

http://maps.googleapis.com/maps/api/geocode/xml?address=bloom,Bloomfield,CT,06002,USA&sensor=false

Thanks

Mandeep

Best Answer

I believe the suggested format is:

House Number, Street Direction, Street Name, Street Suffix, City, State, Zip, Country

The results get less specific the less information you can supply, obviously.

In your sample, the geocoder is searching for a street named 'bloom', of which there are similar matches in OH instead of CT. Removing 'bloom' from the query and then searching returns Bloomfield, CT.