Skip to content
πŸŽ‰ Apache Sedona 1.9.1 is out now! πŸ—ΊοΈ Geography SQL functions, Box2D & Box3D types, raster Python UDFs & more. Read the release notes β†’

ST_SimplifyPreserveTopology

Introduction: Simplifies a geometry and ensures that the result is a valid geometry having the same dimension and number of components as the input, and with the components having the same topological relationship.

ST_SimplifyPreserveTopology

Format: ST_SimplifyPreserveTopology (A:geometry, distanceTolerance: Double)

Return type: Geometry

SELECT ST_SimplifyPreserveTopology(polygondf.countyshape, 10.0)
FROM polygondf