TopoJSON is an extension of GeoJSON that encodes topology. TopoJSON eliminates redundancy, offering much more compact representations of geometry than with GeoJSON; typical TopoJSON files are 80% smaller than their GeoJSON equivalents. In addition, TopoJSON facilitates applications that use topology, such as topology-preserving shape simplification, automatic map coloring, and cartograms.
TopoJSON is an extension of GeoJSON that encodes topology.
Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs. TopoJSON eliminates redundancy, offering much more compact representations of geometry than with GeoJSON; typical TopoJSON files are 80% smaller than their GeoJSON equivalents. In addition, TopoJSON facilitates applications that use topology, such as topology-preserving shape simplification, automatic map coloring, and cartograms.
Topojson toolkits has seen major changes at v.2, as of April 2017 :
- Topojson Specification
- Topojson v1 - CLI
- Topojson v2,v3 -- An extension of GeoJSON that encodes topology! Calls :
- topojson-client (3.0.0) : Manipulate TopoJSON, such as to merge shapes, and convert it back to GeoJSON
- topojson-server (3.0.0) : Convert GeoJSON to TopoJSON.
- topojson-simplify (3.0.0) : Filter and simplify geometries while preserving topology for smaller files and faster rendering!