node.js - How to run TopoJSON? -


i need convert geojson file topojson , possibly simplify topojson file. i've managed install node.js , topojson package. have no idea how run topojson.

the wiki lists bunch of command line options, run commands? i've tried running them both in command prompt , node shell. node, gdal, ogr2ogr , topojson new concepts me, i'm bit confused , overwhelmed.

i'm running on windows way.

this should work fine on windows too

  1. install nodejs http://nodejs.org/
  2. install npm https://npmjs.org/doc/readme.html
  3. run npm install -g topojson in command prompt
  4. use command prompt cd geojson file
  5. run topojson -o mynewtopojsonfile.json myoldgeojsonfile.json

origin https://gis.stackexchange.com/questions/45138/convert-geojson-to-topojson


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -