peter-mount / opendata

Latest & first public version of my code that monitors the UK Rail Network in real time using Open Data feeds
Other
12 stars 2 forks source link

Departure boards: If partially cancelled show where it starts from #40

Open peter-mount opened 9 years ago

peter-mount commented 9 years ago

Say a train is cancelled at CHX but actually starts from LBG. When viewing the boards for CHX show "Starts from London Bridge (HH:MM)".

We can't just however take the next non-cancelled forecast, because that may not be accessible from a station.

For example, train into CHX is cancelled as it's diverted to VIC. So at LBG we cannot then show it, even if the forecast is in the future (from LBG's point of view).

This will probably need some graph engine behind it

peter-mount commented 9 years ago

Showing where the train starts from rather than this station was fixed in issue 42.

However we need to test this senario when we see an example of it so this issue is still open.