This repo is for me to experiment with support for GeoJSON and TopoJSON in GitHub using boundary files.
- install gdal with
$ brew install gdal
- install mapshaper with
$ npm install -g mapshaper
- install topojson with
$ npm install -g topojson
- map the downloaded Shape files to using lat/long coordinates with
$ ogr2ogr -t_srs WGS84 <output> <input>
- split the Shape file into separate Shape files based on some property with
$ mapshaper --encoding iso885911 --split <property> -o <outputdir> <input>
- map the Shape files to topojson using
$ topojson -q <quality> --id-property <id-property> -p -o <output> <input>