Package topojson-simplify

Topology-preserving simplification and filtering for TopoJSON

https://github.com/topojson/topojson-simplify

Topology-preserving simplification and filtering for TopoJSON. Smaller files,
faster rendering!

For an introduction to line simplification:

  - bost.ocks.org/mike/simplify/
  - www.jasondavies.com/simplify/

toposimplify

  Given an input topology, assigns a z-value to every arc coordinate according
  to a configurable weight function, and then generates an output topology
  where every arc coordinate whose z-value is lower than a configurable minimum
  weight is removed. Only the x and y dimensions of the coordinates are
  preserved in the returned topology.

See also topojson-client and topojson-server.

Version: 3.0.3

General Commands

toposimplify simplifies and filters TopoJSON