I’ve always wanted to have a tool to display all my activity tracks from ๐๐๐ซ๐ฆ๐ข๐ง on a global map. Which allows zooming and panning, selecting different time spans, etc. So, I created it in June. A minimal viable prototype was quickly done. Issues with broken tracks (GPX and the jitters ..) were fixed, and some optimizations to the loading and caching of the ๐๐ฉ๐๐ง๐๐ญ๐ซ๐๐๐ญ๐๐๐ฉ tiles were also done.
But then the ๐ฌ๐ก๐จ๐ฐ๐ฌ๐ญ๐จ๐ฉ๐ฉ๐๐ซ: it does not scale! I had used some hundred exported tracks initially: loads quite fast and also the mapping to the global coordinates was done within milliseconds. But when I tried to load all of the almost 10k tracks (I have been doing this for almost a decade ..), the app froze!
A classic in software development: it does not scale. What now?
Quite simple: profile a run, determine the bottlenecks and optimize. Of course, part of that can be done in an agentic way. Urging the agents to pre-process all tracks and store them in a more suitable format (QPainterPath) for quick lookup got us halfway there.
So here is version 0.0110 of ๐๐๐ซ๐ฆ๐ข๐ง๐๐๐ญ๐ข๐ฏ๐ข๐ญ๐ฒ๐๐๐ฉ (quite an uncreative name ..) – a ๐๐ฒ๐๐ญ ๐.๐๐ app, with Python 3.14, 11k LoC (4k for the functionality and the rest for tooling & tests), ๐๐% ๐๐จ๐ฏ๐๐ซ๐๐ ๐, local and GitHub Actions pipelines, .. you know the drill. You also receive a nice shell script to export your data from Garmin (if you don’t want to request a GDPR export and wait some days).
๐ ๐ฎ๐ฅ๐ฅ๐ฒ ๐ฅ๐จ๐๐๐ฅ, nothing is sent to the cloud or leaves your computer.
It really stands on the shoulders of giants: big thanks to the people behind OpenStreetMap and all the frameworks used. It would not be possible to create such a custom project without their work.
PS. to resolve the headline: those are the streets adjacent to the DATA MODUL AG headquarters in Munich/Laim.
