Skip to content

Instantly share code, notes, and snippets.

@fang0rnz
Created July 28, 2018 17:21
Show Gist options
  • Save fang0rnz/4f33c90e70962c4b477e27233673d75d to your computer and use it in GitHub Desktop.
Save fang0rnz/4f33c90e70962c4b477e27233673d75d to your computer and use it in GitHub Desktop.
npm i -g mapshaper
mapshaper Quadrado_Est_Bacia_Potiguar.shp -each 'ESFORCO = Math.floor(Math.random() * (Math.floor(100))), PERMANENCI = Math.floor(Math.random() * (Math.floor(1440) - 1)) + 1, VOLUME_PES = Math.floor(Math.random() * (Math.floor(1000))), PROB_INTER = Math.random()' -o ceara.shp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment