GEOMETRY while preserving validity, dimension, components, rings, hole ownership, existing contacts and disjointness. Unsafe deletions leave the original section in place. This is a scalar operation on one geometry, not coverage simplification across rows.
Syntax
Input and result
Supports POINT, LINESTRING, POLYGON, their MULTI families, and nested GEOMETRYCOLLECTION. The result preserves the input family, component order, collection tree, typed EMPTY children, CRS and planar XY descriptor. A single-member MULTIPOLYGON remains MULTIPOLYGON. Points and duplicate point members stay unchanged. Lines retain endpoints; rings retain closure and winding. The result uses only original vertices in their original path order.NULL in either argument returns NULL. Zero tolerance returns the original WKB after structural, dimensional and topology validation. EMPTY remains the same typed EMPTY; non-NULL EMPTY still requires valid tolerance. Negative, NaN or infinite tolerance, malformed WKB, invalid polygon topology, degenerate lines/rings and exceeded limits produce errors. Simplification does not repair invalid input or discard components to obtain a valid result.
GEOGRAPHY, Z/M and unknown or mixed dimensions are unsupported. Collection support here does not extend other GEO functions. The signature is not an aggregate, window or array operation.