Actually this method returns even more inaccurate results ... http://maps.google.com/maps/api/geocode/xml?address=YZV+Airport&sensor=false requesting Yellowknife IATA but returns JFK airport in NY
http://maps.google.com/maps/api/geocode/xml?address=YVR+Airport&sensor=false requesting Vancouver IATA but returns Williams Lake On May 18, 3:27 am, Venkatraman S <[email protected]> wrote: > 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... > > >http://maps.google.com/maps/api/geocode/xml?address=Sydney®ion=ca&... > > > 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=... > > > 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&senso... > 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 > athttp://groups.google.com/group/google-maps-api?hl=en. -- 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.
