An extension to GeoJSON that encodes topology.
Want to see pretty graphs? Log in now!
npm install topojson
|32||downloads in the last day|
|618||downloads in the last week|
|2 474||downloads in the last month|
|Last Published By|
|Version||1.6.8 last updated 6 days ago|
|Dependencies (6)||d3, d3-geo-projection, optimist, queue-async, rw, shapefile|
|Dependents (11)||convert-geo, d3-geomap, geojson.io, geojson2topojson, json-type, leaflet-omnivore, planetary.js, postgeo, 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.