# install & run
nvm use
make run
make dist
Poll data (Ontario 2018) Poll data (Canada 2019)
Ward boundaries (Ontario 2018) Ward boundaries (Canada 2019)
- download & install GDAL from https://www.kyngchaos.com/software/frameworks/
echo 'export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH' >> ~/.bash_profile
source ~/.bash_profile
cd data
ogr2ogr -t_srs EPSG:4326 -f geoJSON -lco COORDINATE_PRECISION=7 ridings.json path/to/your_shapefile.shp
- go to https://mapshaper.org/
- upload
ridings.json
- simplify (6-12% is a good starting range)
- export, overwrite original file