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

Move legislative boundaries into the database #349

Open
2 of 5 tasks
waldoj opened this issue Nov 18, 2019 · 1 comment
Open
2 of 5 tasks

Move legislative boundaries into the database #349

waldoj opened this issue Nov 18, 2019 · 1 comment

Comments

@waldoj
Copy link
Member

waldoj commented Nov 18, 2019

Legislative boundaries are being fetched and cached in Memcached, instead of just stored in the database.

  • modify the districts database table to be able to store districts' GeoJSON
  • create new functionality in Machine to periodically update district boundaries
  • move existing district functionality into a District class
  • create an API endpoint to expose this functionality
  • modify legislator.php to use the API endpoint to fetch district data
waldoj added a commit that referenced this issue Jan 11, 2020
waldoj added a commit to openva/rs-machine that referenced this issue Feb 15, 2020
@waldoj
Copy link
Member Author

waldoj commented Feb 15, 2020

I've created the Machine functionality, but I haven't tested it yet.

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