Hi Andrew, Do you recommend passing the Country Names instead of the Standard ISO two letter Country Code in the request? I saw that geocoding http://maps.google.com/maps/geo?q=Mall,ES&output=xml (with country code of Spain) yields two addresses for Italy But when I change the Country Code (ES) to Country Name (Spain) the same request returns results from Spain. http://maps.google.com/maps/geo?q=Mall,Spain&output=xml
Is there some other parameter in the Request (other than the "q" one) which dedicatedly expects a Country Input only (either standard Codes or Names)? Or any standard that Google follows to identify the Country from the address specified in the Geocoding Request? Thanks Joy On Jun 30, 8:03 pm, Andrew Leach <[email protected]> wrote: > On Jun 30, 3:48 pm, Joy <[email protected]> wrote: > > > > > Why I said that the Country Code filter does not always filter out the > > results is if I search > > ashttp://maps.google.com/maps/geo?q=District,GB&output=xml > > it returns an address in China. > > "District" is not an address in the UK. There's no way that any > geocoder is going to be successful with that! The geocoder is doing > its best with what you're giving it, and the result is actually quite > good. > > Don't forget, the geocoder geocodes **addresses**, with street names > and towns. > > However, I would recommend using UK instead of > GB.http://maps.google.com/maps/geo?q=District,UK&output=xmldoes actually > include the Lake District, although it's not first. I've no idea why > the Lewes result is first, nor why Eastbourne District General > Hospital (among others!) isn't listed along with Salisbury and York. > > Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
