How ScanPaname works out live train positions
Updated 24 November 2026
Underground, a metro train does not send its GPS position. Yet ScanPaname shows every train in its place, moving. Here is how those positions are calculated, and why they remain estimates.
The starting point: scheduled timetables
Every day, Île-de-France Mobilités publishes the timetables of every line in the region as open data: metro, RER, tram and Transilien. For each trip, it lists the stops and the scheduled time at each of them.
ScanPaname downloads these timetables every night. To place a train, it only needs to know between which stations the train is right now: if it left Bastille at 14:02 and is due at Gare de Lyon at 14:04, at 14:03 it is roughly halfway.
Realistic movement between stations
A train does not run at a constant speed: it accelerates out of the platform, cruises, then brakes before the next station. The map reproduces this acceleration, cruise and braking profile. At 40% of the travel time, the train is therefore not exactly at 40% of the distance: it lags slightly at first and catches up later.
Trains follow the real track geometry, curves included, rather than a straight line between stations. Trains running in opposite directions are slightly offset so they do not overlap, and move apart as they pass each other.
Real-time data: correcting for delays
Timetables alone are not enough: an incident, crowding or a train held at a platform shifts everything. ScanPaname therefore queries the Île-de-France Mobilités real-time service (PRIM) about once a minute. For the next stops of each trip, it gives the estimated passing time.
From these times, the map derives a delay at each announced stop. Between two announced stops the delay is interpolated; beyond the last one, the last known delay is kept. A train held at a platform keeps its arrival time but leaves later, so it stays shown in the station instead of moving along the line.
Why these are estimates
Real-time data are forecasts, not measured positions. They arrive roughly every minute and can themselves be inaccurate. A train on the map may therefore be a few tens of seconds ahead of or behind reality, sometimes a minute during disruption.
When no live data is available for a line, the map falls back on the timetable and says so. Trains whose position is less certain are drawn slightly transparent.
What the map does not know (yet)
A few limits worth knowing:
- a train cancelled at the last minute may remain on the map until the information is published;
- long stops in a tunnel only show up if they turn into an announced delay;
- extra trips added outside the timetable only appear if they are published in real time.
To improve these cases, ScanPaname now measures actual travel times between stations and dwell times at platforms, hour by hour. These measurements will be used to place trains more accurately between updates.