Skip to content
Ben's Tech
Go back

Visualizing the Skies: Live Mapping and Predictive Analytics

Edit page

After establishing a solid foundation for my ADS-B tracker, I wanted to move beyond simple lists and cards. Today was a massive leap forward in how the data is visualized and analyzed, turning a stream of coordinates into a truly interactive aviation dashboard.

Here are the major breakthroughs from the latest update:

Interactive Live Map

The most exciting addition is the new Live Map route. Powered by Leaflet.js and styled with CartoDB’s “Dark Matter” tiles, it provides a high-contrast, real-time visualization of the airspace.

Instead of just seeing a coordinate, the map now draws dynamic route lines. Whenever a flight has a known route, the app calculates the geographical arc from the origin airport, through the current aircraft position, and onto the destination. It turns a single dot on a screen into a story of a journey in progress.

Predictive Flight Schedule

Tracking live data is great, but I wanted to know who the regulars are. I implemented a new Flight Schedule engine that analyzes weeks of historical sightings stored in the local SQLite database.

By grouping sightings into 15-minute buckets and calculating the “reliability” of each flight (how many days it’s been seen in that time slot), the dashboard can now predict which commercial flights are likely to appear. It’s effectively building a personalized flight timetable for my specific patch of sky.

Community-Powered Route Intelligence

AeroAPI is powerful, but budget-limited. To fill in the gaps for unknown flights, I built a new CSV-based “crowdsourcing” workflow. The app can now export a list of unknown flight numbers seen over the house, allowing for manual identification.

Once updated, these routes are imported back into the routes.json database, which I’ve also updated to include “Last Updated” timestamps. This ensures the dashboard stays accurate even when the external APIs are toggled off to save on monthly costs.

UI & UX Refinements

With all these new tables and maps, mobile responsiveness was a challenge. I overhauled the CSS to support horizontal scrolling on data-heavy tables and unlocked vertical page scrolling (which was previously locked for a ‘fixed kiosk’ feel). The result is a much more fluid experience on phones and tablets.

The project is evolving from a simple receiver into a full-fledged aviation intelligence suite. Seeing the planes overhead mapped out in real-time adds a whole new level of perspective to the hobby!


Edit page
Share this post on:

Previous Post
Retro Arcade Build: 3D-Printed Fight Stick and Raspberry Pi 5
Next Post
Upgrading the ADSB Dashboard: Routes & Military Tracking