Amersham trains have no destination before Finchley Road

Apologies if this has been answered before, but I have tried to find the information and couldn’t see it.
I’m looking at westbound Metropolitan line trains for Amersham. They only seem to have the destination stated once they are past Baker Street. The same appears to be true on the website, so it looks like an issue with the underlying data.
Is this an issue with the signalling system that I’ve seen referred to elsewhere? If so, do we have an approximate date for the upgrade?
If not, can someone shed light on either how I can get the data, or when it might become available?
Many thanks all

It looks as though you’re right - I am seeing Amersham trains in the Trackernet data but not in the Unified API - they are either just not there or show ‘Check front of train’

The Trackernet data is available here:
http://cloud.tfl.gov.uk/TrackerNet/PredictionDetailed/M/AME
(the M is for Metropolitan Line and AME is the code for Amersham) To get all the trains on the Met Line you’ll need to poll more stations - MPK, HOH, BKS and KXX are good places to try.

It’s in XML though, which might not be welcome.
There are advantages, it is (supposedly) the underlying data that the Unified feed is based on (although there must be other sources) and it is more accurate and up to date. TFL want to retire it though, so how long it is good for is an open question.

Note that for some reason it can’t handle Chesham at all. It refuses to acknowledge that Chesham exists.

You might get comfort (or despair) from this project:
https://intertube.eta.st/live-line?code=M
It’s a pretty nice piece of work overall but she has determined that the Metropolitan Line data is unusable - which is probably sensible - but disappointing.

2 Likes

@grahamwell @jkent

Another thing that I recall about this strange stretch of track is that there are no platform numbers either, thus needing…

   case "HOH" :
        case "RIC":
        case "CLW":
        case "CFO":
            if ($destination->crs !== "MYB") {
                $strReturn = "1";
            } else {
                $strReturn = "2";
            }
            break;
        // Met terminal in the middle
        case "AMR" :
            if ($destination->crs !== "MYB") {
                $strReturn = "1";
            } else {
                $strReturn = "3";
            }
            break;
1 Like

Thank you, I wasn’t aware of that source, I’m not afraid of a bit of xml as long as the data is there to be found, so I’ll give it a go and see if I can find anything for the eastern end of the line

Good luck. I have some C# code if that’s any use, including the classes you’ll need.

The Amersham issue is real. I watched it last night. The current arrivals predictions in the Unified feed are just wrong, they’re completely ignoring Amersham trains.

1 Like

@grahamwell I think that @jamesevans said at some point that when 4LM programme was complete, this would provide an opportunity to have accurate data for the whole of the “4 lines” (circle, district, h&c and met). Four Lines Modernisation - Transport for London