An extension to GeoJSON that encodes topology.
npm install topojson
|102||downloads in the last day|
|550||downloads in the last week|
|1 574||downloads in the last month|
|Version||1.4.9 last updated 6 days ago|
|Dependencies||d3, d3-geo-projection, optimist, queue-async, shapefile|
|Dependents (8)||convert-geo, geojson.io, geojson2topojson, leaflet-omnivore, planetary.js, topojson-pip, turf, vega|
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.
Want to learn more? See the wiki.