# install & run
nvm use
make run
make dist
- 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=9 data/postal_codes.json data/lfsa000a16a_e/lfsa000a16a_e.shp
- go to https://mapshaper.org/
- upload
postal_codes.json
- simplify (6-12% is a good starting range)
- export, overwrite original file