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/8670612 to your computer and use it in GitHub Desktop.
Save mfurlend/8670612 to your computer and use it in GitHub Desktop.
batch geojson to topojson
for f in *.geojson; do echo $f | sed 's/.geojson//' ; done | xargs -I {} topojson {}.geojson -o topojson/{}.topojson --id-property STATE_ZONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment