By Kenneth Burchfiel
This repository shows how to generate airline route maps using publicly available route and airport data, along with the Folium and Selenium Python libraries. (For more information on this project, see my blog post here.)
The route maps have some limitations: for instance, because the data files on which they are based differentiate between mainline (Delta, American, etc.) and regional (SkyWest, Endeavor, etc.) carriers, these maps often fail to show all route data for a particular airline. In addition, most maps only show routes for which at least 50 departures were recorded in the BTS data file for that year. However, I believe the maps still offer value as an open-source alternative to other versions. (See the methodology used to create the map within route_maps_builder_v2.ipynb for more details on the maps' creation.)
Here are example screenshots of the route maps currently stored in this repository. (The original route maps are .html files, so for the best viewing experience, I recommend downloading them to your computer and then opening them in a web browser. These screenshots don't display all domestic/North American route data in the original maps.)
By downloading and modifying this program, you can generate far more route maps than these!
American Airlines Domestic Routes (1999)
American Airlines Domestic Routes (2018)
American Airlines International Routes (1999)
American Airlines International Routes (2018)
Continental Airlines Domestic Routes (1999)
Continental Airlines International Routes (1999)
Delta International Routes (1999)
Delta International Routes (2018)
Northwest Domestic Routes (1999)
Northwest International Routes (1999)
TWA International Routes (1999)
United International Routes (1999)
United International Routes (2018)
US Airways Domestic Routes (1999)
US Airways International Routes (1999)
Note: The following files were not included in the GitHub repository because their size exceeds 100MB:
- routes_planes_coordinates.csv
- routes_planes_coordinates_for_mapping.csv
- 21503323_T_T100_SEGMENT_ALL_CARRIER.csv
- routes_planes_coordinates_for_mapping_v2.csv (particularly important for creating the actual route maps)
You can instead retrieve these files from my copy of this project on Google Drive, available at https://drive.google.com/drive/folders/1jRTjoZtT6OWCXRTNstG9D4CxmjXe4W8q?usp=sharing .