mborsetti / airportsdata Goto Github PK
View Code? Open in Web Editor NEWExtensive database of current data for nearly every airport and landing strip in the world, with over 28,000 entries.
License: Other
Extensive database of current data for nearly every airport and landing strip in the world, with over 28,000 entries.
License: Other
Hi, great library.
I am wondering if you could implement a function to search for an airport, given the city name, the airport name, the airport code or a portion of them.
Example:
import airportsdata
airports_db = airportsdata.load()
#returns a list of airports in Milan
airports = airports_db.search("Milan")
#returns FCO airport in Rome
airports = airports_db.search("Fiumicino")
#returns Eindhoven airport in Netherlands
airports = airports_db.search("EIN")
I guess you can easily do this by merging airport name, city and airport code and then use .contains(query) on that value.
The result is approximative but still valuable I think.
What do you think?
Thanks!
I am guessing this is not possible?
thank you
For some reason none of the Python libraries (including this, version 20221101) I have used contains the ETM airport: https://ourairports.com/airports/LLER/. RyanAir has flights there.
Hi - thanks for maintaining this repo! I've used the prior fork quite a lot and frequently have changes required by users of my website. Is the goal of this repo to be more actively maintained?
One missing airport I've found is PUW - see https://en.wikipedia.org/wiki/Pullman%E2%80%93Moscow_Regional_Airport
I could make a PR next week sometime if helpful!
"","OMN","Zomin","Zomin","Djizak","UZ",,40.015356,68.413948,"Asia/Tashkent",""
A new airport in Ayodhya, Uttar Pradesh, India has opened (IATA: AYJ, ICAO: VEAY)
"icao","iata","name","city","subd","country","elevation","lat","lon","tz","lid"
"VEAY","AYJ","Maharishi Valmiki International Airport","Ayodhya","Uttar Pradesh","IN",26.748034, 82.150781,"Asia/Kolkata",""
References:
https://www.iata.org/en/publications/directories/code-search/?airport.search=AYJ
https://en.wikipedia.org/wiki/Ayodhya_Airport
Please add Ezhou Airport
"icao","iata","name","city","subd","country","elevation","lat","lon","tz","lid"
"ZHEC","EHU","Ezhou Huahu Airport","Ezhou","Hubei","CN",30.342856, 115.029611,"Asia/Shanghai",""
See:
LRBV is completely new and had its first scheduled flights this June.
There has been some confusion with the ICAO code (some databases have it as the old nearby small airfield LRBG), but now the Romanian AIP has definitive answers.
https://www.aisro.ro/,
(Publications -> AIP -> AD2.29)
LRBV Administrative data https://www.aisro.ro/aip/2023-07-13/DOCS/AIP/AD/AD2/AD_2_29_LRBV/LR_AD_2_LRBV_en.pdf
IATA code "GHV": https://www.iata.org/en/publications/directories/code-search/?airport.search=GHV
Hello,
Very nice project, one with the most up to date data, thank you.
However, IATA location codes representing a city are missing: for instance PAR for Paris, LON for London etc. I don't know from where exactly the data comes from, but including those location codes in the dataset would be a great feature, how can I help you with that?
Hi Team,
Good Day!
If possible, could you please ensure all the airports code have been added to the library? I could see few of the airports are missing now.
Thank you,
Hi and thanks for this great source!
According to this Jeppessen circular https://ww2.jeppesen.com/wp-content/uploads/2021/02/HSSS_HSSK_2102_AMM_ALERT.pdf (and quoted on Wikipedia)
Khartoum International HSSS has changed its ICAO code to HSSK in AIRAC 2102.
KECP, Panama city FL is in the central timezone, and should be America/Chicago
Currenty city name for IATA FRA code returns "Frankfurt-am-Main". When interacting w/ Maxmind, a company that provide GEOIP databases, their systems will only recognize, "Frankfurt am Main". Can FRA city name be updated without the hyphens in the name?
http://www.geonames.org/6300952/kyiv-boryspil-international-airport.html
Are you considering adding a geoNameId?
If so, I could bind the database CSV, and you could add the API.
Sometimes need to bind to an identifier.
LAL iata code missing
https://www.iata.org/en/publications/directories/code-search/?airport.search=lal
Please add these airports:
"OPRN","ISB","Benazir Bhutto International Airport","Islamabad","Punjab","PK",1667,33.616388888889,73.099166666667,"Asia/Karachi",""
"BKPR","PRN","Pristina International Airport","Pristina","","XK",1788,42.572777777778,21.035833333333,"Europe/Belgrade",""
Just wanted to let you know I'm using your data set in my application! Thanks!
It might be nice to pull Wikipedia's list of airports and sync that with this repo using a GitHub action.
Ideally using SPARQL or the MediaWiki API - wikipedia
Python module. I don't have experience with the API but SPARQL seems like a pretty good way to get large structured data dumps from Wikipedia.
Hi Dude, amazing library!
I saw that in the original list of airports there are some that are missing in your package, such as KXTA.
Is there any possibility to update the list of airports?
Also, is it possible to have a column indicating the number of Runways present at each airport?
Thank you very much for your contribution!
"SECQ","","Coaque Airport","Coaque","","EC",131,9.999e-07,-80.0999984741,"America/Guayaquil",""
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.