Collection of vector simplification algorithms. This model works on all kind of feature types (point, line or polygon), obviously the simplification of a point layer is nonsense.
Simplification is used to reducing the number of points in a geometry that is approximated by a series of points.
There are two different simplification algorithms integrated in this module:
- 0 : TopologyPreservingSimplifier: simplifies a geometry, ensuring that the result is a valid geometry having the same dimension and number of components as the input. The simplification uses a maximum distance difference algorithm similar to the one used in the Douglas-Peucker algorithm
- 1 : Douglas Peucker: a detailed description of this method is available in Wikipedia
Inputs
- the vector to be simplified
- the simplification type: TopologyPreservingSimplifier (0), Douglas Peucker (1) (default = 0)
- the distance tolerance for the simplification
Output