jeremybmerrill / flyover

what's that plane flying over my apartment RIGHT NOW?
MIT License
126 stars 11 forks source link

come up with a better solution for display airport codes for non-US airports #3

Open jeremybmerrill opened 8 years ago

jeremybmerrill commented 8 years ago

right now, it only displays US airports (and the Canadian airports that fly to LGA)

perhaps via translating ICAO airport codes to IATA, we can get a three-letter code that's comprehensible in the general case?

jeremybmerrill commented 8 years ago

the ICAO to IATA airport code database https://github.com/jpatokal/openflights / http://openflights.org/data.html#airport might be a good place to start

rather than displaying the ICAO airplane code from the routes file, we could instead find its IATA equivalent, which tends to be (is always?) 3 characters and probably more recognizable (e.g. LHR is obviously Heathrow but who knew EGLL was too??)