-
Notifications
You must be signed in to change notification settings - Fork 22
Description
There are a few airports that have updated their ICAO airport code, but JetLog doesn't show the updated version. In my case, I have flights to Kenneth Kaunda International Airport in Lusaka, Zambia. The current ICAO code is FLKK, but jetlog currently uses FLLS.
I took a look at the airports database source and when viewing the raw csv file, it appears that the old ICAO code FLLS is the ident value for this airport. However, the gps_code value is FLKK, the new ICAO code. I assume this is the case so that there aren't any duplicate entry rows as existing airports are renamed. Instead the new ICAO code just gets put in gps_code.
I propose that if a gps_code exists the UI should use it instead of the ident (aka the old ICAO code). It appears that this is how OurAirports seems to handle it too. Here's the example for the airport in my example; notice how the URL is FLLS but the page text shows the new FLKK (example link). Implementation wise, I'm not sure if its best to change the existing icao to be similar to OurAirport's ident, or just add a new gps_code variable to the AirportModel Class.