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

Add Static Stops to the App at Build Time #302

Closed
epicstar opened this issue Nov 20, 2016 · 2 comments
Closed

Add Static Stops to the App at Build Time #302

epicstar opened this issue Nov 20, 2016 · 2 comments
Assignees

Comments

@epicstar
Copy link
Member

Related:

Requires:

Add static stops at build time. This way, all stops are available via install without internet.

We will get the data here: https://data.wprdc.org/dataset/port-authority-of-allegheny-county-transit-stops

@epicstar
Copy link
Member Author

epicstar commented Feb 5, 2017

I am currently planning to create some sort of design change to the stops:

  • stops should be by SQLite or other ORM
  • on pre-compile, a DB is made for all stops from https://data.wprdc.org/dataset/port-authority-of-allegheny-county-transit-stops
  • This db will only be replaced once... at first install
  • from SQLite, get all stops and store in memory, using https://github.com/cnvandev/Android-R-Tree
  • for any route line updates from the TrueTime API:
    • route line updates via internet should also update the stop list from the ORM
    • then the R-Tree has to be reconstructed
  • Change the StopViewModel to completely depend on the ORM.... show all stops
    • within the camera bounds
    • AND assuming the zoom is low enough to show stops

@epicstar
Copy link
Member Author

Released with 8.0.0b3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant