On May 18, 8:22 pm, Venkatraman S <[email protected]> wrote:
> On Tue, May 18, 2010 at 2:09 PM, Andrew Leach <[email protected]
>
> > wrote:
> > On May 18, 1:09 am, bscene <[email protected]> wrote:
>
> > > I just need one consistent method for returning the correct city. Any
> > > help is greatly appreciated.
>
> > Does *just* the three-letter code not work satisfactorily?
>
> I am also working on something similar and facing similar issue. The search
> for 3 letter IATA code doesnt seem to return proper coords.
>

Maybe try the 4 letter ICAO codes, because these have region
information and they aren't duplicated like the IATA codes:

London, ON: CYXU
http://maps.google.com/maps/api/geocode/xml?address=CYXU&sensor=false

Sydney, NS: CYQY
http://maps.google.com/maps/api/geocode/xml?address=CYQY&sensor=false

Yellowknife, NT: CYZF
http://maps.google.com/maps/api/geocode/xml?address=CYZF&sensor=false

Vancouver, BC: CYVR
http://maps.google.com/maps/api/geocode/xml?address=CYVR&sensor=false

There's a good database of Latitude,Longitude for Aiports at
OpenFlights.org

Data Description
http://openflights.org/data.html

Download: aiports.dat
http://openflights.svn.sourceforge.net/viewvc/openflights/openflights/data/airports.dat

...

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