1TOPOSIMPLIFY(1) User Commands TOPOSIMPLIFY(1)
2
3
4
6 toposimplify - simplifies and filters TopoJSON
7
9 toposimplify [options] [file]
10
12 Given an input topology, assigns a z-value to every arc coordinate ac‐
13 cording to a configurable weight function, and then generates an output
14 topology where every arc coordinate whose z-value is lower than a con‐
15 figurable minimum weight is removed. Only the x and y dimensions of
16 the coordinates are preserved in the returned topology.
17
19 -h, --help
20 Output usage information.
21
22 -V, --version
23 Output the version number.
24
25 -o, --out file
26 Specify the output TopoJSON file name. Defaults to - for std‐
27 out.
28
29 -p, --planar-area value
30 Specify simplification threshold value as the minimum planar
31 triangle area, typically in square pixels.
32
33 -P, --planar-quantile value
34 Specify simplification threshold value as the minimum quantile
35 of planar triangle areas. The value should be in the range
36 [0, 1].
37
38 -s, --spherical-area value
39 Specify simplification threshold value as the minimum spherical
40 triangle area (spherical excess
41 ⟨https://mathworld.wolfram.com/SphericalExcess.html⟩), in
42 steradians ⟨https://en.wikipedia.org/wiki/Steradian⟩.
43
44 -S, --spherical-quantile value
45 Specify simplification threshold value as the minimum quantile
46 of spherical triangle area (spherical excess
47 ⟨https://mathworld.wolfram.com/SphericalExcess.html⟩. The value
48 should be in the range [0, 1].
49
50 -f, --filter-detached
51 Remove detached rings that are smaller than the simplification
52 threshold after simplifying.
53
54 -F, --filter-all
55 Remove any rings that are smaller than the simplification
56 threshold after simplifying.
57
59 geo2topo(1), topo2geo(1), topomerge(1), topoquantize(1)
60
61
62
63 January 2021 TOPOSIMPLIFY(1)