Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 373
mandeep-dhiman Avatar asked Oct 14 '11 07:10

mandeep-dhiman


People also ask

Which is the best method to use to geocode a static list of address?

In general, use the Geocoding API when geocoding complete addresses (for example, “48 Pirrama Rd, Pyrmont, NSW, Australia”). Use the Places API Place Autocomplete service when geocoding ambiguous (incomplete) addresses or for latency-sensitive applications, like when responding to user input.

How accurate is Google geocoding?

Most (82%) addresses were found to be geocoded with street address-level accuracy (Table 2). Twenty-two of 200 addresses were found to be accurate at the sub-premise level, with seven pointing to the nearest bus station, two to the locality, and one to the campground level ( Table 2). ...

How do I find an exact address on Google Maps?

What's the address? is a simple tool that can help you find the approximate address of any point on Google Maps. All you have to do is drag the red marker pin to another location and the approximate snail address of that place should pop-up in a marker window.


1 Answers

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.

like image 112
Casey Avatar answered Oct 04 '22 05:10

Casey