Commit graph

251 commits

Author SHA1 Message Date
Hugh Rundle 92ad548b92 fix Action workflows
- fix incorrect key name in merge file (json_data['objects']['boundaries.geo'] rather than json_data['objects']['boundaries'])
- don't merge csv and topo.json when topo.json changes, as this will create an infinite loop
- run merge as part of geo-to-topo Action, after new topo file is created
- remove redundant shell file
2021-01-29 08:28:40 +11:00
hughrun f22901f869 Update TopoJSON boundaries 2021-01-28 21:04:12 +00:00
Hugh Rundle ad3cbc2eb1
Merge pull request #53 from hughrun/geo-to-topo
Update TopoJSON boundaries
2021-01-29 08:03:20 +11:00
hughrun 99dbfa96a4 Update TopoJSON boundaries 2021-01-28 10:13:17 +00:00
Hugh Rundle b2b14aa49f
Update merge-csv-to-topojson.yml
add `website/data/boundaries.topo.json`
2021-01-28 21:11:40 +11:00
Hugh Rundle cb08f5b834
Update minify-map-json.yml
simplify workflow
2021-01-28 21:05:11 +11:00
Hugh Rundle 0ba15f523f
Merge pull request #52 from hughrun/geo2topo
update worklow
2021-01-28 20:50:18 +11:00
Hugh Rundle 81e2ae533a
Merge branch 'master' into geo2topo 2021-01-28 20:50:08 +11:00
Hugh Rundle bc3bcdab47 update worklow 2021-01-28 20:44:56 +11:00
Hugh Rundle 1733b0d413
Update minify-map-json.yml
add `uses`
2021-01-28 20:16:39 +11:00
Hugh Rundle 587d443a58
Update minify-map-json.yml
adjust filepaths
2021-01-28 20:08:28 +11:00
Hugh Rundle 01246f5964
Update minify-map-json.yml
clean up
2021-01-28 19:56:57 +11:00
Hugh Rundle 2607f527de
Merge pull request #51 from hughrun/geo2topo
reconfigure minify-map-json action
2021-01-28 19:15:37 +11:00
Hugh Rundle 12ef934e6c reconfigure minify-map-json action
- update yml by bringing shell script into the main action yml
- add shebang to shell script file in case this doesn't work and we need it still
2021-01-28 19:11:21 +11:00
Hugh Rundle c1de272d3e
Merge pull request #50 from hughrun/geo2topo
update github action
2021-01-28 18:59:59 +11:00
Hugh Rundle 67f63d9202 update github action
- apparently it needs sudo with no password to npm install?
- also added ability to run the json update action manually
2021-01-28 18:57:43 +11:00
Hugh Rundle a88ad08ca9
Merge pull request #49 from hughrun/geo2topo
update geojson
2021-01-28 18:51:26 +11:00
Hugh Rundle 092f9d1440 update geojson
just to trigger the action really, it should be more or less the same
2021-01-28 18:49:13 +11:00
Hugh Rundle 0e2835c897
Merge pull request #48 from hughrun/geo2topo
fix filepath in action
2021-01-28 18:44:40 +11:00
Hugh Rundle ffdd84f240 fix filepath in action 2021-01-28 18:42:47 +11:00
Hugh Rundle fb209b565a
Merge pull request #47 from hughrun/geo2topo
add geojson file
2021-01-28 18:35:07 +11:00
Hugh Rundle 35130b175a add geojson file
This is the mother geojson file with all the boundaries. It should be processed into topojson automatically on any pushed changes. Let's find out!
2021-01-28 18:31:43 +11:00
Hugh Rundle e8163c68b2
Merge pull request #46 from hughrun/geo2topo
Geo2topo
2021-01-28 18:29:40 +11:00
Hugh Rundle f55bcd97f9 clarify path for GH Action 2021-01-28 18:26:31 +11:00
Hugh Rundle 12997c2eb4 add csv-to-topo to geo-t-topo
We need to merge the csv data into the new topojson file!
2021-01-28 18:25:11 +11:00
Hugh Rundle 4e2851fb1d add GitHub action
Processes geojson to topojson on a change to the geojson file.
2021-01-28 18:15:47 +11:00
Hugh Rundle 8599e4be0d
Merge pull request #45 from hughrun/contributing
update contributing pages
2021-01-28 10:05:15 +11:00
Hugh Rundle d2e3fc77ff update contributing pages
fixes #44 - make it clearer which issues to look at
2021-01-28 09:59:27 +11:00
Hugh Rundle 6b35971d8e
Merge pull request #40 from hughrun/update-docs
update docs
2021-01-26 18:44:55 +11:00
Hugh Rundle a36463cb3b update docs
Now that that the merging GitHub Action is working, the docs need to be updated in regard to the geojson and topojson files. Also cleans up where this info is located, as it was in 'about' but should be in 'contributing'.
2021-01-26 18:42:37 +11:00
Hugh Rundle a40bd76192
Merge pull request #38 from hughrun/auto-update-topo
Update TopoJSON
2021-01-26 17:48:36 +11:00
hughrun ec0ce5bf4c update TopoJSON 2021-01-26 06:40:27 +00:00
Hugh Rundle c88f9dc81b
Update library_services_information.csv
Add Boroondara website address
2021-01-26 17:40:04 +11:00
Hugh Rundle 0a948e38ca
fix filepaths in merge script 2021-01-26 17:37:39 +11:00
Hugh Rundle 70f22c1d78
Update library_services_information.csv
add website for Adelaide City Libraries
2021-01-26 17:36:08 +11:00
Hugh Rundle 8cfa9a50ca
Update merge-csv-to-topojson.yml
Fix missing '.' in filepath
2021-01-26 17:34:35 +11:00
Hugh Rundle 23499de42f
add Yarra Libraries website address 2021-01-26 17:28:40 +11:00
Hugh Rundle 6295780d9c
Merge pull request #37 from hughrun/setup-actions
fix workflow for merging csv to topojson
2021-01-26 17:27:08 +11:00
Hugh Rundle 63f29c31c0 fix workflow 2021-01-26 17:25:19 +11:00
Hugh Rundle 0f66a28ff7
add website column to csv
Add website column to library_services_information.csv and an entry for ACT
2021-01-26 17:21:53 +11:00
Hugh Rundle c408f2baed
Merge pull request #36 from hughrun/setup-actions
add github action scripts
2021-01-26 17:17:24 +11:00
Hugh Rundle d3884a4e62 add github action scripts
- moves python script to .github directory
- also cleans up .gitignore
2021-01-26 16:56:43 +11:00
Hugh Rundle ec038c6059
Merge pull request #35 from hughrun/prep-new-workflow
normalise service names
2021-01-26 14:45:32 +11: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 5632eabb75
Merge pull request #33 from lissertations/master
Correct LMS names and add mechanics institutes phone numbers
2021-01-26 07:37:18 +11:00
Alissa M afb73777d4 Update load-map.js
edited getIlsColor function to match library_services_information.csv
2021-01-25 22:06:51 +11:00
Alissa M 8dea756913 Update Isaac RC
Formerly WMS, now Libero
2021-01-25 21:56:25 +11:00
Alissa M 8649c3f251 Adding mechanics institute phone numbers
and editing ACTHL number for consistency
2021-01-25 21:24:50 +11:00
Alissa M 2e34d10e50 Update library_services_information.csv
Editing typos
2021-01-25 21:09:18 +11:00
Hugh Rundle 131136c97d
Merge pull request #29 from hughrun/mode-switch
change naming of library view modes
2021-01-25 14:35:57 +11:00