Project ideas

Last updated:

Seven projects to build with the data, from a first script to a statistical model. Each says what you will learn, which endpoints it needs and what to build; there is no solution code, on purpose. A saved day never changes, so fetch each one once, keep it, and pause about a second between requests.

Source: GPSInterference.com, https://gpsinterference.com/project-ideas. Free to reuse with this credit and a link.

Animation maker

Intermediate

Take a region (a bounding box or a series slug) and a start and end date, and produce an animation with one frame for each day. Read the list of days to see which exist, fetch each day once and keep it on disk, and draw that day's hexagons inside the region, coloured by c, on a frame that never moves. Put the date, the colour key and the credit on every frame, and show a missing day as missing, not as a repeat of the day before.

You will learnFetching many days politely, caching them, drawing polygons on a map, and encoding frames into a video or GIF.
Uses/v1/interference/days
/v1/interference/YYYY-MM-DD
/v1/interference/series/SLUG
StretchDraw the region's daily percentage from its series as a line that grows under the map, and let the viewer choose the speed.

Daily digest

Beginner

A script that prints a short report each morning: the date of the flights, the ten most affected hexagons with at least 12 affected aircraft, and how the world's share of affected areas compares with its average over the seven days before. Run it after the day's update, and say which day the figures are for.

You will learnCalling a JSON API, sorting and filtering records, and comparing today with the recent past.
Uses/v1/interference/latest
/v1/interference/series/world
StretchSend the report by email or to a chat channel, and only when something has changed by more than a threshold you choose.

GIS layer

Intermediate

A converter that turns any saved day into a GeoJSON or GeoPackage file that opens correctly in QGIS: coordinates in longitude, latitude order, rings closed, and the counts kept as attributes. Style the layer in the site's four colours and check a few hexagons against the live map.

You will learnCoordinate order, polygon rings, GeoJSON, and styling a layer by a data value.
Uses/v1/interference/YYYY-MM-DD
StretchMerge a week of days into one layer that holds each hexagon's average share, and decide what to do with hexagons that are missing on some days.

Route checker

Intermediate

Given two airports and a day, list the hexagons that the great-circle route between them crosses, in order, with each one's aircraft count and share, and draw the share along the route as a profile. Say plainly where the route crosses areas with no hexagon, which means too little data, not a clear sky. The result describes what other aircraft reported there that day; it is not flight-planning advice.

You will learnGreat-circle geometry, testing whether a line crosses a polygon, and showing a profile along a route.
Uses/v1/interference/YYYY-MM-DD
StretchCompare the same route across a week of days, and show the return leg and an alternative route beside it.

Region alert bot

Intermediate

A bot that checks a list of regions once a day, after the update, and sends a message when a region's share rises well above its own level over the 30 days before. Decide what "well above" means and write it down. Send one message when a region goes over and one when it comes back, not one every day in between, and in each give the day the figures are for and a link to the region's page.

You will learnRunning a job on a schedule, setting a threshold from a region's own history, and keeping alerts from repeating.
Uses/v1/interference/series/SLUG
StretchLet each subscriber choose their own regions and threshold, and add a weekly summary for those who want fewer messages.

Change-point detector

Advanced

For a region's whole series, find the dates on which its level shifted and stayed shifted, as opposed to single high days. Try at least two methods, show the series with the segments you found and their averages, and say how sure each change is. Then compare your dates with the sourced events the series carries, and report the matches, the misses and the changes with no event at all, without treating a match as a cause.

You will learnChange-point methods, telling a lasting shift from a one-day spike, and checking results against outside evidence.
Uses/v1/interference/series/SLUG
StretchCheck whether a change in how many aircraft were seen, not in the share affected, explains any of your change points.

Next-day forecaster

Advanced

Train a model that predicts each region's share of affected areas for the next day from its own past days, the day of the week and the regions next to it. Test it by walking forward through time, never training on days that come after the one being predicted, and compare it with two simple guesses: the same as yesterday, and the average of the last seven days. Report the error for each region and say where the model beats the simple guesses and where it does not.

You will learnBuilding features from a time series, training and tuning a model, and evaluating it honestly by walking forward through time.
Uses/v1/interference/series/SLUG
StretchPredict a range as well as a single number, and check how often the real value falls inside it.