Skip to main content
For (Multi)Polygon geometries, this function sets the exterior ring orientation to clockwise and interior rings to counter-clockwise orientation. Non-polygonal geometries are returned unchanged. ST_ForcePolygonCW

Signatures

Parameters

geom
Geometry
required
The input geometry.

Return type

The resulting geometry.

Example