ST_IsPolygonCCW
Signature
Parameters
ColumnOrName
required
Geometry column to check.
Returns
Column
True if every exterior ring is counter-clockwise and every interior
ring is clockwise. Empty Polygon and MultiPolygon values return True.
Check whether polygon rings use counter-clockwise exterior orientation.
ST_IsPolygonCCW