Constructs a compound curve from a text representation.
Syntax
NEW ST_CompoundCurve(LONG VARCHAR text_representation[, INT srid])
Parameters
text_representation –
A string containing the text representation of a compound curve. The input can be in any supported text input format, including Well Known Text (WKT) or Extended Well Known Text (EWKT).
srid –
The SRID of the result. If not specified, the default is 0.
Returns
ST_CompoundCurve Returns an ST_CompoundCurve value constructed from the source string.
Examples
Example 1 –
The following returns CompoundCurve ((0 0, 5 10), CircularString (5 10, 10 12, 15 10)).