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 Email and Password
3 years ago
2 years ago
Get the weekly newsletter! In it, you'll get:
see an example newsletter