Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

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