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

Geodata should not be pulled from a geojson, but from the database. #28

Open
1 task
georgeslabreche opened this issue Sep 18, 2016 · 0 comments
Open
1 task
Assignees

Comments

@georgeslabreche
Copy link

georgeslabreche commented Sep 18, 2016

Simply because geojson data will not be updated when we update the database. We want to make sure that users always see the latest data and this is not possible when relying on hardcoded geojson file.

Acceptance Criteria:

  • Project repo should no longer have a data folder containing geojson files.

Technical Notes:
Use the following queries in with the Carto SQL API instead:

For oil licenses:
SELECT * FROM mw_licenses where license_type_id = 5

For all other licenses:
SELECT * FROM mw_licenses where license_type_id != 5

@georgeslabreche georgeslabreche changed the title Data should not be pulled from a geojson, but from the database. Geodata should not be pulled from a geojson, but from the database. Sep 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants