topojson / topojson-client

Manipulate TopoJSON, such as to merge shapes, and convert it back to GeoJSON.
ISC License
213 stars 63 forks source link

Don’t modify inputs! #11

Closed mbostock closed 7 years ago

mbostock commented 7 years ago

Fixes #10.

This also changes topojson.quantize so that you can pass in an arbitrary transform, rather than always generating a new transform based on a quantization parameter. This allows you to re-apply an existing transform to a previously-quantized topology, or to give multiple topologies the same transform.

This will be a major version change, released as 3.0.