https://www.signalbox.io/news/southeastern-launches-track-my...
https://www.signalbox.io/news/southeastern-launches-track-my...
If you get a bunch of phones switching cell near simultaneously, you can tell that a train movement across the cell boundary has probably happened. Then correlate that with the other data feed about train blocks, and bob's your uncle.
Only about 50% of trains have wifi: https://www.businesstravelnewseurope.com/Ground-Transport/UK... ; but it's easy to imagine getting the mobile hotspot on the train to share its GPS location as well.
1. Mostly, some signal blocks are still entirely manually managed but, IIRC, at this point those manually managed segments are low traffic areas where only one train is allowed into the block group at a time even if the old signal management systems would allow multiple trains.
though interpreting it isn't the easiest thing in the world...
This year, I was curious about whether I could track freight trains in my region or nearby, in real-time, and perhaps more details like what sort of cars were linked in the train, how many locomotives, what sort of freight they were carrying, etc.
After a few fruitless searches for this tracking info, I realized that the same info that would be "recreational" for me would be "operationally valuable" to any domestic terrorist cell or motivated insurrectionist, as well.
Trains derail all the time, we are told, and trains are robbed blind increasingly often, so I am sure there is some sort of illicit/underground tracking that takes place already, but for now, I must content myself with noticing trains using my own eyes and ears. The freight line next door is inhibited from sounding their horns except in emergencies. And thankfully, I find freight-train and light-rail noise to be calming and soothing, even at 3:30am...
1. So it's Trainline on a persons phone that is tracking this info and using it to enrich this service? I use Trainline and didn't know it was doing that, but I do have location permissions on because I was told that powered the search picker when I started using the app.
2. What did they use _before_ Trainline? Or was Trainline selling user location data to them?
Or their API - it also expects device location data:
> At a minimum, requests to the detect endpoint _must_ contain a device's location measurement. Additional fields can be included where available to improve the accuracy of the returned results as outlined below.
I think you are missing the point - what is collecting data on all those trains.
This is matching your phone's location to the already public train data.
But what is getting that?
"You" here means another app that integrates their API (or you as an individual using the demo on their website). How the other app gets it is up to the other app - ideally it also just queries it directly and requires location permission.