-
-
Save Rich-Harris/6242109 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps from huge shape file to topo json: | |
topojson -q 1e3 --id-property ELECT_DIV national-esri-16122011/COM20111216_ELB_region.shp -o aussieMapTopoFromShp.json | |
/* -q 1e3 */ //This is the quality/simplification property, the lower the number the lower the quality | |
/* --id-property ELECT_DIV */ //This copies over the ELECT_DIV property from the shape file to the topoJSON file | |
//national-esri-16122011/COM20111216_ELB_region.shp //This is the input shape file | |
// -o //Output flag (put this before specifying the output file) | |
//aussieMapTopoFromShp.json //This is the output topo json file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment