About the Flight Density Map

The Flight Density Map is an interactive map showing all of my flight routes and airports, showing which routes and airports I use the most often. As with my driving density maps, the more I’ve used a flight map or flight route, the brighter it shows.

Technical Details

I’ve set up Flight Historian (my flight log) to provide a GeoJSON output for each of its maps. For the Flight Density map, I use the GeoJSON for my all flights map.

I use the Mapbox GL JS API to display and style my flight routes and airports from this GeoJSON data. The flight route opacity is set based on the RouteFlightCountTotal property of line features, and the airport opacity is set based on the AirportVisitCount property of point features.

Tags: