Hugh Rundle
67f63d9202
- apparently it needs sudo with no password to npm install? - also added ability to run the json update action manually
4 lines
250 B
Bash
4 lines
250 B
Bash
sudo npm install -g mapshaper
|
|
mapshaper ./boundaries.geo.json snap -clean -o force precision=0.0001 format=geojson ./boundaries.geo.json
|
|
sudo npm install -g topojson-server
|
|
geo2topo ./boundaries.geo.json -q 50000 > ./website/data/boundaries.topo.json |