Checks whether a geometry or GeometryCollection object contains an arc. Returns true if the object contains an arc, or false otherwise.
Syntax
boolean ST_HasArc(geometry geomA);Parameters
| Parameter | Description |
|---|---|
| geomA | The geometry or GeometryCollection object to check. |
Usage notes
Supports 3D objects and preserves Z coordinates.
Supports circular strings and curves.
Examples
Check whether a GeometryCollection containing a circular string has an arc:
SELECT ST_HasArc('GeometryCollection(POINT(1 0),CIRCULARSTRING(1 2,3 4,5 6))'::geometry);
st_hasarc
-----------
t
(1 row)