Constructs a compound curve from a text representation.
NEW ST_CompoundCurve(text-representation[, srid])
text-representation
LONG VARCHAR
A string containing the text representation of a compound curve. The input can be in any supported text input format, including WKT or EWKT.
srid
INT
The SRID of the result. If not specified, the default is 0.
Constructs a compound curve from a character string representation. The database server determines the input format by inspecting the provided string.
SQL/MM (ISO/IEC 13249-3: 2006) 7.4.2
The following returns CompoundCurve ((0 0, 5 10), CircularString (5 10, 10 12, 15 10))
SELECT NEW ST_CompoundCurve('CompoundCurve ((0 0, 5 10), CircularString (5 10, 10 12, 15 10))')