Tests if an ST_Geometry type that represents an ST_LineString or a GeoSequence value is a ring.
Valid Data Types
ST_LineString or GeoSequence
Returns an INTEGER value:
- 1 if the ST_LineString or GeoSequence value is simple (has no anomalous geometric points, such as self intersection tangency) and is closed (the start point of the ST_LineString value is equal to the end point)
- 0 in all other cases.