On Tue, May 18, 2010 at 5:39 AM, bscene <[email protected]> wrote:

>
> This would be fine if it worked all the time but it does not. For
> instance with Sydney, both of the following requests return Sydney
> NSW, Australia ...
> http://maps.google.com/maps/api/geocode/xml?address=Sydney+YQY&sensor=false
>
> http://maps.google.com/maps/api/geocode/xml?address=Sydney&region=ca&sensor=false
>
> To get the desired result I need to add the ccTLD to the address
> parameter instead of the region as follows ...
> http://maps.google.com/maps/api/geocode/xml?address=Sydney+ca&sensor=false
>
> I just need one consistent method for returning the correct city. Any
> help is greatly appreciated.
>
>
This works :
http://maps.google.com/maps/api/geocode/xml?address=YQY+Airport&sensor=false
Add 'airport' after the 3 letter IATA code.

-V-
http://twitter.com/venkasub

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