Skip to main content
Check whether a LineString coordinate sequence has counter-clockwise ring orientation. Open LineStrings are evaluated as supplied, without appending the start coordinate. Non-LineString geometries and LineStrings with fewer than four points return False. SQL reference: ST_IsLineStringCCW

Signature

Parameters

ColumnOrName
required
LineString geometry column to check.

Returns

Column
True if the coordinate sequence is counter-clockwise and False otherwise.