Problems with /Line/Route/Sequence 16/5/19-31/12/19

Hi @briantist @nickp

We’ve updated the routesections for the Piccadilly Line this afternoon so that it now includes Hatton Cross to T4.

Please let me know if you have any feedback.

James

1 Like

@james

I am seeing Terminal 2/3 OK

image

But nothing today for T4 yet…

I can see Arnos Grove & Cockfosters trains appear in our data.

I think this is because the train only appears once it has pulled into the station and set it’s new destination ID. This is consistent with the other termini on London Underground.

Thanks,
James

@jamesevans

Odd, I’m looking at http://cloud.tfl.gov.uk/TrackerNet/PredictionDetailed/P/HRF and can see the data but the code wasn’t showing it for some reason.

It seems that

    $simpleXml = simplexml_load_string($fileContents);
    return json_decode(json_encode($simpleXml));

Works differently when there is one platform element, rather than two. I’ve fixed this so I’m pleased to say that the API is working!

image

We had the same a while back as well I think! The nature of this station is quite different to any other station on the network.

1 Like