Constructs a curve polygon from a text representation.
SELECT NEW ST_CurvePolygon('CurvePolygon (CompoundCurve (CircularString (-5 -5, 0 -5, 5 -5), (5 -5, 0 5, -5 -5)))')
The following example shows a curvepolygon with a circle as an outer ring and a triangle inner ring.
SELECT NEW ST_CurvePolygon('CurvePolygon ( CircularString (2 0, 5 3, 2 0), (3 1, 4 2, 5 1, 3 1) )') cpoly
Example of a curvepolygon with a circle for an exterior ring and a triangular interior ring
SQL/MM (ISO/IEC 13249-3: 2006) 8.2.2