How do you convert GeoJSON data to TopoJSON?
Topojson files are often smaller than geojson and the conversion allows you to incrementally simplify a dataset, if you wish.
topojson -o output_file.json input_file.json
Glad you asked, oh handsome OP.
From the command line (Mac OSX 10.8, assumes homebrew installed):
brew install node.js
npm install -g topojson
topojson -o output.json input.json
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago
1 year ago