Hi all.

I'm trying to use the Geocoding API to locate a UK postcode, for
example "SA19 9DB".

Searching Google Maps gives an accurate result: 
http://maps.google.com/maps?&q=SA19+9DB%2C+gb

However, the API fails to find it and instead returns a placemark for
"SA19 7".
http://maps.google.com/maps/geo?q=SA19+9DB,+GB&gl=gb&output=json&sensor=false&key=USE_YOUR_OWN_KEY

It doesn't make any difference whether I use the gl parameter for
country code, and UK returns the same result as GB.

If I leave out the space in the postcode, I get a different (but also
inaccurate) result ("SA19 9"):
http://maps.google.com/maps/geo?q=SA199DB,+GB&gl=gb&output=json&sensor=false&key=USE_YOUR_OWN_KEY

The Javascript Geocoding API gives the same result.

Is it possible to get the same result as the map?  If so, how?

Thanks.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to