Skip to content

JeniT/boundaries

Repository files navigation

This repo is for me to experiment with support for GeoJSON and TopoJSON in GitHub using boundary files.

What I Done

  1. install gdal with $ brew install gdal
  2. install mapshaper with $ npm install -g mapshaper
  3. install topojson with $ npm install -g topojson
  4. map the downloaded Shape files to using lat/long coordinates with $ ogr2ogr -t_srs WGS84 <output> <input>
  5. split the Shape file into separate Shape files based on some property with $ mapshaper --encoding iso885911 --split <property> -o <outputdir> <input>
  6. map the Shape files to topojson using $ topojson -q <quality> --id-property <id-property> -p -o <output> <input>

About

topojson boundary files (experimental)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published