Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_Normalize

Introduction: Returns the input geometry in its normalized form.

Format:

ST_Normalize(geom: Geometry)

Since: v1.3.0

SQL Example

SELECT ST_AsEWKT(ST_Normalize(ST_GeomFromWKT('POLYGON((0 1, 1 1, 1 0, 0 0, 0 1))')))

Result:

POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))