Skip to content

Instantly share code, notes, and snippets.

@mfurlend
Created January 28, 2014 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfurlend/8670609 to your computer and use it in GitHub Desktop.
Save mfurlend/8670609 to your computer and use it in GitHub Desktop.
convert topojson to geojson
geojson –o /home/mgleason/geo –precision 6 --id-property fips -- outcounties_topo.json
-o = output directory (filename is automatically chosen)
-precision = number of digits after decimal place to keep
--id-property = demote geometry id to specified feature property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment