When the station board feed detects that a train is delayed, it does not contain the particular train identifier to be able to locate its position in the train position feed.
The current code will use an approximation based on delay information provided in the train position feed, but an even cooler way to do it would be to find the closest train position to the station that's reported the delay.
When the station board feed detects that a train is delayed, it does not contain the particular train identifier to be able to locate its position in the train position feed.
The current code will use an approximation based on delay information provided in the train position feed, but an even cooler way to do it would be to find the closest train position to the station that's reported the delay.