Python script to find airport data using OSM API.
This script is still WIP and contains a number of bugs.
For some airports, the script will return runways + their displaced threshold as a separate runway with no numbers and no surface.
- Install dependencies:
pip install -r requirements.txtThe script now exposes a Click-based CLI with two commands: search and
fuzzy.
python airport_finder.py search <ICAO>
python airport_finder.py search <airport name>If you're unable to find an airport you can try a fuzzy search using part of the airport name. Fuzzy searches are case sensitive, slow and prone to timeout.
python airport_finder.py fuzzy "Kennedy"- The program queries OpenStreetMap data, which is community-maintained
- Currently the runway length include any displace threshold if available this may result in runway length longer than indicated on charts.
- Not all airports may have complete runway information
- Some runway lengths may be missing or approximate
- The Overpass API has rate limits; please use responsibly