Skip to content

[Suspended] Point Reliability

Eddy Ionescu edited this page Jan 13, 2019 · 1 revision

Point-Reliability is a feature where one puts a pin on the map and the reliability of the selected route during the selected time-interval appears in the bottom pane.

  • the coordinates of the pin will be passed in as an optional argument to the existing GraphQL endpoint.
  • if provided, a PointReliability object will be returned at the top level.
PointReliability {
   lat: Float
   lon: Float
   arrivals: [Route]
}

Orion

  • No changes

Tryn-API

  • Given the pin, go through the locations and for each one within the radius (50 metres), make it into an arrival. For each vehicle ID, we take it only if compared to its previous arrivals, there's a heading difference of over 120 degrees (it short-turned or it's a short route) or a time difference of over 20 minutes (clearly going in the opposite direction).

Tryn-React

  • Gets the arrivals - select one or more patterns (ie. select individual directions and branches, while also analyzing trunk sections)
  • Add ability to choose a time interval and drop a pin.
  • Add bottom pane where arrivals are shown.