What it is
Tracks (the Track Library) is a home for every GPS recording you have. Drop in files from a phone tracking app and it cleans them up, works out when you were moving, stopped, on a ski lift or in a car, and computes the stats: distance, climb, grade, cornering force, estimated power. Then it gives you ways to look at them: a map, a 3D studio with terrain, and a playback mode where up to eight trips race each other. A planner suggests new bike routes, including ones that favor paths you haven't ridden.
How it works
- Drop GPS files onto the page (KMZ, KML, GPX, GeoJSON or Organic Maps backups).
- Each track is cleaned of bad points and spikes, and segments are labeled moving, stopped, lift or vehicle.
- Car legs and long idle stretches are suggested as cuts; you accept or skip them.
- Browse on a map with satellite, topo and 3D terrain, colored by speed, power, grade or elevation.
- Open the 3D Studio or replay several tracks together, side by side or by time of day.
- Use Plan to route a new ride on the local bike network and save it as GPX.
What exists today
- Import, clean-up and classification for several GPS formats
- Map view with hillshade and 3D terrain, five color channels on shared scales
- 3D Studio with ribbon and curtain tracks, comet trails and banking riders
- Playback of up to eight tracks at once in three race modes
- A route planner on one area's bike network, with "prefer new paths"
- Roughly 40 tracks loaded and in regular personal use
What isn't there yet
- Not hosted anywhere; it runs on one computer with a small Python server
- The bike-route planner covers only one area
- No sharing; there is no safe way yet to publish tracks without revealing start and end points
- No public sample library, so there is nothing to demo without personal data
- Not under version control
Under the hood
- Plain JavaScript modules (about 3,300 lines), with three.js for 3D and MapLibre for maps
- A small Python server with numpy does importing, cleaning and route-network fetches
- Track data is stored as generated JSON files that can be rebuilt from the raw recordings
- Only map tiles and fonts need the internet