And if you check on/off the other options, you get way more informations.
https://maps.trafimage.ch/ch.sbb.netzkarte?lang=en&baselayer...
- My train wasn't able to continue its journey and was stuck between two stations for a few minutes while the map showed it continue to the next few stations up until the point where it started moving again, when their App also showed it running with a delay of 8min.
- On several occasions: watching the map show a train roll into the station and driving off, while seeing from my window that the train is only just arriving when the map shows it as between stations already.
<https://opentransportdata.swiss/en/cookbook/realtime-predict...>
btw while looking for th GTFS-RT info, I found this site, which is less minimal but has a 3D cockpit beta functionality...
Hmm, that's...interesting?
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. 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.
This is also how e.g. Google maps and others integrate schedule information for public transport as well.
Building a map from the real time updates is relatively straight foward once you have access.
Most of these projects made the smart choice to focus on a single or just a small handful of related providers. As soon as you're trying to aggregate, the problem becomes a lot trickier.
Past similar HN submission got no attention, whereas the UK's top page. Interesting !
This means that if your train is running at half-speed or stopped but does not result in an official delay, the position will not match reality.
Or is the interesting part that the UK one is real-time, and the French one isn't (or at least, zooming in, I don't see them moving).
https://vgcgroup.co.uk/news/signalbox-for-train-locations/
suggests the data mostly comes from railway signalling information, plus a bit of "AI" in some way. I wonder how far apart railway signals usually are, or what the AI is trained on, or anything really vs just looking at a map.
There is a message queue that you can use to identify the last reported location of a train. Depending on the line you could get a pretty accurate real-time map (but first you need to georeference all of the location identifiers to eastings/northings.)
But many lines report only the last movement at a station stop - these are mostly in rural areas so the best approach seems to be to build some sort of dead-reckoning network taking into account train type and network utilisation.
It varies substantially across the network, dependent on the mode of operation of the signalling, the desired headway, the maximum operating speed, the service braking distance of the rolling stock at line speed, factors in the layout that might influence safety (e.g. junctions), the number of colour lights used on signal heads (i.e. 2, 3 or 4 colour lights), signal sighting distance, whether signal visibility might be affected by sun glare, etc. And of course this assumes that the area is actually using line-side signals – most of the network does, but there's notable exceptions using in-cab signalling or computer-based train control.
> suggests the data mostly comes from railway signalling information, plus a bit of "AI" in some way
I'm in no way affiliated with the website, but in areas that follow track circuit block principles (much of the heavily-used main GB railway network, excluding many more lightly-used outlying lines), the "signalling information" that article indicates the site derives from is almost certainly Network Rail's Train Describer (TD) feed. This feed reports the headcodes for signalling berths across the layout. The signalling system will normally step headcodes automatically as the train activates successive track circuits or operates axle counters in the track.
The Train Describer can only report headcodes in berths, and berths might be quite long! It certainly doesn't provide second-by-second train progress, so this site's mapping engine is likely doing some proprietary interpolation to make the train position indicators appear to "move" in real time to give the illusion of trains making progress. (Whatever the inputs to their algorithm/model are, their calling it "AI" loses all technical specificity.) This interpolation may be based on line speed, perhaps the observed average time a headcode normally remains in a given berth, allowing them to derive a typical 'average speed' for that berth or section.
If it was me designing this, I'd expect a mixture of the train class, the rolling stock and line speed to give a good estimator of the train's current position in block. You then have to make a product decision to decide what to do if you miscalculated train position – do you make staccato jumps of the train position indicators on the map if you got it wrong, or do you somehow try to smooth your error out over another period to avoid indicators suddenly moving?
In other areas of the country, train position may be reported by GPS on equipped units, or in some areas, the passage of trains is dependent on manual reports by the signaller, so the map may not have much real-time data to infer train position from. I find it highly unlikely that they're deriving much accurate data in real time from smartphone apps, but it could be a (noisy, incomplete) set of inputs to improve their model of how trains typically make progress through particular berths.
https://mapa.zsr.sk/index.aspx
And Polish one, still a gen or two behind just like their rail network. It needs to be said they are investing heavily to bring it up to scratch.
There's functionality for this in the official Dutch Railways app, but it looks like they didn't bother putting that onto their website. There is a common source of open data for most of these details, but I don't find the docs to be very complete.
PS. If you are taking a feature request, I immediately double-clicked on my line to try to focus only on that (i.e. hide all the other lines). So that might be useful for others.
It's chicken and egg question, but in Manchester and London it's very clear that mass transit led to urban development, rather than the other way around.
It's very surprising that cities like Leeds have no mass transit at all, and sizeable cities like Liverpool and Birmingham don't have much.
https://www.map.signalbox.io/?train=202607066710114&location...
is a train from Cambridge to Kings Cross - and in the side panel it shows it as calling at the new Cambridge South station. But Cambridge South isn't shown on the map. That's kinda understandable (because it opened a week ago), but Cambridge North (which opened in 2017) also isn't shown on the map. Neither are offered in any of the auto-complete dropdowns?
I'm wondering if the station data a static dataset which hasn't been updated in a long time?
There are many different alphabet-soup coding systems used across Network Rail, retailing systems, and the wider railway industry to identify locations on the network. Station names will often be different in different databases; look at any station with an apostrophe in and you'll find it inconsistently named in different places.
- So for some stations (most?) it shows that all trains go to the selected station, nowhere else.
- Also the search show only one station at a time instead of the multiple that could match the search. And even if we typed the whole station name, it might match another station, which mean the station is not selectable at all.
London: https://londonunderground.live
this reminds me of the London specific equivalent posted awhile back: https://londonunderground.live (previously discussed https://news.ycombinator.com/item?id=43651390).
Basically all of Europe, with varying levels of detail.
I would like to be able to see when each road/section was built. I assume with GoogleEarth and other databases it should be possible to run some kind changelog comparison and do this at scale for at least the last 20 years or so.
Reality is far more depressing. You'd also need to add ghostly white for cancelled and bus icons for replacement buses. Why do I live here god. Why can't we have a functional train network like literally any other civilised country.
It's a bit massaged in some cases e.g. Transpennine, who have only recently been forced to stop abusing P-coding to pre-cancel trains that would have been significantly delayed. So I think those figures may take a dip.
But re: civilised countries: Germany's rail service is effectively significantly less punctual than ours; regional services are OK, about as good as ours, but if you need a longer haul service for any part of your journey you will have a very much worse experience. France is a bit more punctual on long-haul, I think; they average better within-the-minute punctuality on TGV, but regionally it is not better than the UK, it is worse. Italy (in some senses the most civilised country on earth) has poor train reliability.
Delays on UK networks are in many case due to very fundamental, long term issues that are hard to resolve. Rural lines that are single-track for geographic reasons, for example — where it's a choice of either single track or no train. And there are some absolutely pathological problems like the Borough Market Junction, which has been a cause of severe structural delays for about 140 years, in part because the only way to solve it is to destroy historic parts of London.
I personally do not think delays are the biggest problem in UK rail; ticket prices are. The slow return of train services to various forms of public ownership may help there, but we need the ROSCOs too. We need to stop what privatisation did. Perhaps we will.
If trains were made cheaper, some of them would become extremely unpleasant to use. In an ideal world, we'd have both more capacity on the busy routes and cheaper tickets, but that will need a lot more work than just nationalising the train companies.
(Or just fewer people would solve all these problems, but that doesn't look likely to happen...)
Yes, it is a fact of modern life that one reason there's no political will to reduce ticket prices is that it's an effective pricing mechanism for limiting demand or pushing travellers to other modes of transport to avoid further overcrowding – as perverse as that sounds for a rail network.
Amongst other things it shows all the signalling segments so you can actually see where your train is when waiting e.g. https://traksy.uk/live/T+CDU+BRI+d+@2026-07-06T15:00/S+G1548...
The page, called Babitron, still exists and still keeps that delightful 2004 look. I visited it a few days ago. Unfortunately today there is a message "We are moving Babitron to a different server", so the link isn't working.
TRUST (reporting system that describes train movements as they've happened) does accept updates by means other than the Train Describer, which might include GPS if the unit is equipped, and in many areas is dependent on signallers making manual reports (which may not be made immediately). They might also use TRUST as a data source, especially in non-Track Circuit Block areas. The rate of GPS updates is not going to be anywhere near as frequent as those train position indicators that appear to move here in "real time" across the map, so however they combine data sources, their site is trying to be clever in guessing train location.
It goes without saying: this sort of map is highly likely to be wildly inaccurate and isn't useful for anything safety-critical.
- Trains appearing on the map that aren't anywhere to be seen on the tracks.
- Trains on the tracks that don't appear on the map.
- Trains moving away from the station that according to the timetable view shouldn't have left the station yet.
- Trains on the map seemingly stopping and changing direction, only to reverse course once again.
The map shows a single line segment for what is in fact a multi-line stretch of railway. That's okay as a simplification (I guess), but the icons aren't pinned to the line, so appear to be driving off the track, or even on the adjacent street.As for realtime - even if the data was accurate and timely, a 2Hz refresh rate most definitely isn't realtime.
Sorry if it seems like I'm shitting on it - it's a fun toy, but I wouldn't depend on it for anything important.
Possibly useful as a funky station arrival board, but overlaying that data on an actual map is a bit misleading.
This could be said for the rail network as a whole.
Neglect and underinvestment over the last 60+ years has left it in a sorry state, and debacles such as HS2 show how government has no ability to deliver proper material upgrades to the ageing infrastructure and service. The direction of travel (scuse the pun) has been clear since the Beeching cuts: roads are the priority. Add to that Neoliberal divestment policies and we end up where we are today: overcrowded, filthy, ugly trains barely fit for cattle transport and chronically understaffed stations and train crews. Not to mention the extortionate prices for a ticket to travel on the network.
I adore rail travel, but dread the necessity of using it any time I go on a journey.
I just witnessed a London Liverpool street service plough through the M25 motorway - about 40 miles south of it's typical route and 5 miles south of the nearest actual railway. Dozens of the trains seem to be traversing through the English channel/La Manche towards the north sea.
In fact the number of trains actually tracking a rail line (and this is outside of the cities where the tube/metro might obscure this) seems in the minority. Most seem to be going straight through the middle of farmers fields on some obscure course unrelated to theirs.
edit: /s
The reality is the illusion of pinpoint accuracy is a figment of this site's imagination; this site is using some creative license to guess the precise location of trains.
Even if there were no such thing as GPS, simply the act of running a fleet of trains or trucks or buses on a schedule, means that anyone could do a bit of math and roughly calculate the position of every vehicle based solely on the schedule.