mwgg / Airports

A JSON database of 28k+ airports with ICAO/IATA codes, names, cities, two-letter country identifiers, elevation, latitude & longitude, and a timezone identifier
MIT License
508 stars 181 forks source link

Missing airports #26

Closed shimulch closed 2 years ago

shimulch commented 5 years ago

I have been working with a flight booking system and this list helped me a lot.

BTW, I found that these airports are not there -

1AA, Koh Samui - Lipa Noi Pier
1AB, Koh Phangan - Thong Sala Pier
1AC, Koh Phi Phi - Phi Phi Pier
1AD, Koh Lanta - Saladan Pier
1AE, Koh Lipe - Sunrise Beach Pier
1AF, Koh Ngai - Koh Ngai Villa
1AG, Koh Yao Noi - Manoh Pier
1AH, Koh Tao - Seatran Pier
1AJ, Koh Samed - Na Dan Pier
3AA, Pai - Pai Bus Station
3AB, Sukhothai - Tharaburi Resort
3AC, Mukdahan - Mukdahan Grand Hotel
3AD, Kalasin - Kud Nam Kin Park
3AE, Mahasarakham - Sermthai Complex
3AG, Khanom - Sri Khanom Hotel
3AI, Surin - The Chang Knowledge Park
3AJ, Chiang Khan - Old Chiangkhan Boutique Hotel
3AK, Pattaya - Downtown Central Festival Pattaya Beach
3AR, Rayong - PASSiONE by Laemtong Rayong
3AV, Buri Ram - Downtown Best Western Royal Hotel
DTB, Silangit - Lake Toba
KJT, Majalengka / Kertajati
M1A, Zhuhai - Macao Border Gate
M1B, Zhuhai - Hengqin Port
YIA, Yogyakarta - Kulon Progo
mborsetti commented 4 years ago

DTB, KJT and YIA are official IATA codes as per https://www.iata.org/en/publications/directories/code-search/ and have been added to the fork of this project housed at https://github.com/mborsetti/airportsdata, which is also available for those using Python over pip:

pip install airportsdata

To load the data into a dict:

import airportsdata
airports = airportsdata.load()  # key is ICAO code

or

import airportsdata
airports = airportsdata.load('IATA')  # key is IATA code

The other codes are not IATA codes therefore won't be supported.