Commit graph

6 commits

Author SHA1 Message Date
hughrun 99dbfa96a4 Update TopoJSON boundaries 2021-01-28 10:13:17 +00:00
hughrun ec0ce5bf4c update TopoJSON 2021-01-26 06:40:27 +00:00
Hugh Rundle 23aee37ca8 normalise service names
- titlecase all library service short names in csv file
- rename `short_name` to `name` in csv
- replace merge_service_data.py with merge_to_topo.py in preparation to resolve #18 and #34

NEW WORKFLOW if changing boundary shapes

- update boundaries.geojson if needed
- geo2topo -q 12000
- THEN run merge_to_topo.py (i.e. we merge the topoJSON not the geoJSON)

NEW WORKFLOW if changing service data

- merge pull request containing changes to library_services_information.csv
- run Action which runs merge_to_topo and then updates main HEAD topofile
2021-01-26 14:37:22 +11:00
Hugh Rundle 82b01eb45c add outstanding ILS data for library services 2021-01-25 13:46:30 +11:00
Hugh Rundle e82d2267fd add Norfolk Island and Boulia Shire
- Add Norfolk Island as a library service region
- add Boulia Shire as a library service region
2021-01-24 20:43:28 +11:00
Hugh Rundle 0bd4b4892f restructure website for better data integration
Big commit here.
This moves the "data" directory inside the website, and then uses fetch to bring the csv and geoJSON files into the map instead of copy-pasting into JS files. Much cleaner and reduces steps from updating a CSV to updating the actual website. Now we simply need to git pull on the webserver (unless the updated data is for library services rather than library locations).

Also cleans up some styling.

Also removes my MapBox secrets from the Git repo whoops. These are now brought in via a secrets.js file that simply declares a constant. This file will not be visible in the repo.

Fixes #14
2021-01-20 09:28:43 +11:00