toposimplify - Man Page

simplifies and filters TopoJSON

Synopsis

toposimplify [options] [file]

Description

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.

Options

-h,  --help

Output usage information.

-V--version

Output the version number.

-o--out file

Specify the output TopoJSON file name. Defaults to - for stdout.

-p--planar-area value

Specify simplification threshold value as the minimum planar triangle area, typically in square pixels.

-P--planar-quantile value

Specify simplification threshold value as the minimum quantile of planar triangle areas. The value should be in the range [0, 1].

-s--spherical-area value

Specify simplification threshold value as the minimum spherical triangle area (spherical excess), in steradians.

-S--spherical-quantile value

Specify simplification threshold value as the minimum quantile of spherical triangle area (spherical excess. The value should be in the range [0, 1].

-f--filter-detached

Remove detached rings that are smaller than the simplification threshold after simplifying.

-F--filter-all

Remove any rings that are smaller than the simplification threshold after simplifying.

See Also

geo2topo(1), topo2geo(1), topomerge(1), topoquantize(1)

Referenced By

geo2topo(1), topo2geo(1), topomerge(1), topoquantize(1).

January 2021