Hi,

    I use TeslaMate, which collects data in a PostgreSQL database. I’ve got over a year’s worth of data in it so far.

    I’m quite happy with it, but it’s web-based and I’ve always wanted a better, more intuitive way to view this data.

    Since no app existed, I decided to code one myself. It’s entirely written in Swift 6, uses Rust to fetch the large amount of data from the database and uses machine learning to optimise the routes displayed on a one-year-old map, so the memory doesn’t get exhausted on devices.

    Anyway, this is the backend.

    I’ve managed to make iOS natively display a full year’s worth of driving history using native MapKit UI.

    I saw this post and thought I’d share what I’ve done here.

    https://www.reddit.com/r/dataisbeautiful/s/f2lDb3CohD

    don’t want to self promote or anything, you can find the app in AppStore in case you use Teslamate too, name is Teslatlas.

    I love the visuals.

    by Pathfinder-electron

    2 Comments

    1. Pathfinder-electron on

      **Data source:** Personal driving telemetry collected via TeslaMate, stored in PostgreSQL.

      **Tools:** Rust (PostgreSQL → SQLite sync, GPS correction, spatial clustering, LOD tile generation via UniFFI bridge), Swift 6 / SwiftUI / SwiftData, Apple MapKit. ML-assisted route simplification to keep memory within iOS limits.

      The map renders over a year of trips natively on-device without exhausting memory — the main engineering challenge was the clustering and level-of-detail pipeline. Built this because no native iOS TeslaMate companion existed. App is on the App Store if you run TeslaMate and want to try it (search Teslatlas).

    Leave A Reply