ST_Normalize(geom: Geometry)
SELECT ST_AsEWKT(ST_Normalize(ST_GeomFromWKT('POLYGON((0 1, 1 1, 1 0, 0 0, 0 1))')))
POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))
Was this page helpful?