Merge pull request 'readme spaces' (#206) from wagga into main
Some checks failed
Minify Map JSON / processJson (push) Has been cancelled
Some checks failed
Minify Map JSON / processJson (push) Has been cancelled
Reviewed-on: #206
This commit is contained in:
commit
10e886ce00
|
@ -18,7 +18,7 @@ See [contributing](https://librarymap.hugh.run/contributing/), especially *[whic
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
The website for this project uses [git-webhooks](https://git.suboptimal.solutions/hugh/git-webhooks) with a customisation to run the `process.js` file that is found in this repository on each pull. The file is stored with the webhooks files so that everything can be `npm install`ed together.
|
The website for this project uses [git-webhooks](https://git.suboptimal.solutions/hugh/git-webhooks) with a customisation to run the `process.js` file that is found in this repository on each pull. The `process.js` file **is stored with the webhooks files** so that everything can be `npm install`ed together. Remember this if you ever need to update the file.
|
||||||
|
|
||||||
This `process.js` file syncs any changes from the csv files into the topojson attributes (e.g. when a library changes their ILS).
|
This `process.js` file syncs any changes from the csv files into the topojson attributes (e.g. when a library changes their ILS).
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ This could be a bit of faffing around, depending what you are trying to do. Merg
|
||||||
|
|
||||||
1. `boundaries.geo.json` should be aligned with `boundaries.topo.json`. If in doubt, use `topojson-client`'s `topo2geo` to get a geojson file with the most up to date data from the topojson:
|
1. `boundaries.geo.json` should be aligned with `boundaries.topo.json`. If in doubt, use `topojson-client`'s `topo2geo` to get a geojson file with the most up to date data from the topojson:
|
||||||
|
|
||||||
`topo2geo boundaries_new.geo.json < boundaries.topo.json`
|
`topo2geo boundaries_new.geo.json < boundaries.topo.json`
|
||||||
|
|
||||||
2. update in `qgis`
|
2. update in `qgis`
|
||||||
3. export out to geojson
|
3. export out to geojson
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue