Google Geocode API Address Formatting United States -
this question similar in spirit to. http: //stackoverflow.com/questions/7764244/correct-address-format-to-get-the-most-accurate-results-from-google-geocoding-ap
i've read faq on google geocode developers guidelines , states suggested format addresses based off country's postal service. in of testing not working , i'm seeing better results putting street @ end of query.
example being: http://maps.google.com/maps/api/geocode/xml?address=+3700%20w%20flamingo%20rd++las%20vegas+nv returns 0 results, swapping road end returns correct result: http://maps.google.com/maps/api/geocode/xml?address=++las%20vegas+nv+3700%20w%20flamingo%20rd
on top of if include zipcode (89103) second request, 1 return no results well.
can me understand appropriate format should addresses?
thanks much! -chris
the answer can find in document
https://developers.google.com/maps/faq#geocoder_queryformat
how should format geocoder queries maximise number of successful requests?
specify addresses in accordance format used national postal service of country concerned.
do not specify additional address elements such business names, unit numbers, floor numbers, or suite numbers not included in address defined postal service of country concerned.
use street number of premise in preference building name possible.
use street number addressing in preference specifying cross streets possible.
do not provide 'hints' such nearby landmarks
Comments
Post a Comment