Skip to content
Apache Sedona 1.9.0 is out now, featuring Spark 4.1 support, proj4sedona CRS transformation, Bing Tile functions, and more!

ST_Normalize

Introduction: Returns the input geometry in its normalized form.

ST_Normalize

Format:

ST_Normalize(geom: Geometry)

Return type: 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))