Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate several, possibly overlapping, data sources into one monitor #16

Open
flauschzelle opened this issue Aug 27, 2020 · 0 comments
Labels
enhancement New feature or request module: monitor

Comments

@flauschzelle
Copy link
Contributor

This will probably be a quite large restructuring, but very useful in the long run, especially when we get data sources with overlapping geographical areas.

The monitor should then be able to display predictions from all data sources for any given stop (as stops are identified by name, this should not be too hard).
A trip might need the source as an additional identifier (encoded in the URL) to avoid slow performance.

Changes needed for this to work might be:

  • having to hold more than one parsed schedule in memory at the same time
  • filtering out duplicates of trips that appear in both sources but with different ids (and deciding which one to keep, maybe based on data quality?)
  • handling of performance issues when trying to iterate over all trips, stops or stop_times from all schedules (instead of just one schedule like we currently do) when trying to find a matching trip/stop/stop_time, wich occurs in our code in several places.
@flauschzelle flauschzelle added enhancement New feature or request module: monitor labels Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module: monitor
Projects
None yet
Development

No branches or pull requests

1 participant