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
- install nodejs http://nodejs.org/
- install npm https://npmjs.org/doc/readme.html
- run
npm install -g topojson
in command prompt - use command prompt
cd
geojson file - run
topojson -o mynewtopojsonfile.json myoldgeojsonfile.json
origin https://gis.stackexchange.com/questions/45138/convert-geojson-to-topojson
Comments
Post a Comment