infinispan-demos / streaming-data-workshop

Streaming data workshop with Infinispan, Vert.x and OpenShift
11 stars 7 forks source link

Geo-location based train location approximation #14

Open galderz opened 7 years ago

galderz commented 7 years ago

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.