Get only IATA code with geocoding

thegrede picture thegrede · Jun 3, 2012 · Viewed 7.8k times · Source

How can I have just the IATA codes with Google Maps? I just found out how to get the address and city, but I need to grab just the IATA code, like NYC or JFK etc. How can I do that?

Thanks for your help.

Answer

dda picture dda · Jun 3, 2012

You could use the Global Airport Database. It has GPS coordinates.