strategic voting calculator
# install & run
nvm use
make run
make dist
Poll data (Ontario 2018) Poll data (Canada 2019)
Ward boundaries (Ontario 2018) Ward boundaries (Canada 2019)
ogr2ogr
for coordinate conversionecho '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
ridings.json