Post by ReclinerPost by Nick FinniganThe data is being requested at intervals of 30s (lu) / 60s (tt), with tt
sometimes returning 304 (not modified) for a bigger gap. They both seem to
be trying to extrapolate train locations in between, giving sudden jumps.
Can you tell why tt seems to duplicate trains multiple times? I see squadrons of up to ten yellow circles flying in
close formation that are, I assume, just multiple copies of the same train. Many of them are shown well away from the
already misplaced route lines. For example, I'm currently watching two squadrons of SSL trains trundling diagonally
across Kensington Gardens.
Too much data, but possibly it extrapolates in a straight line rather
than following a track. lu seems to have several entries for each train, as
though you can get a few recent steps in a journey (e.g. for Bakerloo):
"BL052": [
{
"from_stop_id": "940GZZLUWJN",
"from_timestamp": 19798,
"to_stop_id": "940GZZLUWJN",
"to_timestamp": 19798
},
{
"from_stop_id": "940GZZLUWJN",
"from_timestamp": 19798,
"to_stop_id": "940GZZLUHSN",
"to_timestamp": 19848
},
{
"from_stop_id": "940GZZLUHSN",
"from_timestamp": 19848,
"to_stop_id": "940GZZLUHSN",
"to_timestamp": 19888
},
{
"from_stop_id": "940GZZLUHSN",
"from_timestamp": 19888,
"to_stop_id": "940GZZLUSGP",
"to_timestamp": 19939
},
{
"from_stop_id": "940GZZLUSGP",
"from_timestamp": 19939,
"to_stop_id": "940GZZLUSGP",
"to_timestamp": 19979
}
]
}