3 ms·
Love this project! Can you tell us a bit about what stack you used to build this? Were there easy-to-use APIs to get this data in realtime?
by svarlamov 3y ago
Love this project! Can you tell us a bit about what stack you used to build this? Were there easy-to-use APIs to get this data in realtime?
- klinquist 3y agoI can comment on Caltrain only, the location is available via the 511.org API. I built a project that predicts how late trains are based on their current location vs historical averages and posts the data to Mastodon. https://caltrain.live https://caltrain.live.
- ryry 3y agothanks! I did a quick write up about it here: https://rydercalmdown.com/projects/trains-fyi/ https://rydercalmdown.com/projects/trains-fyi/ The hardest part was learning about GTFS-RT, which was a data format I wasn't familiar with until now.
- zhivota 3y agoVery nice, thanks for the write up :). I was thinking about how you could get route maps, without actually having to source shape files. Given you are tracking trains every minute, you could probably build up your own route maps by dropping a point every time you get one, and connecting them with straight lines. Over time the route would become closer and closer to reality.