Constructs a circular string from a text representation.
NEW ST_CircularString(text-representation[, srid])
text-representation
LONG VARCHAR
A string containing the text representation of a circular string. 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 circular string 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.3.2
The following returns CircularString (5 10, 10 12, 15 10)
SELECT NEW ST_CircularString('CircularString (5 10, 10 12, 15 10)')
The following example shows a circularstring with two semi-circle segments.
SELECT NEW ST_CircularString('CircularString (0 4, 2.5 6.5, 5 4, 7.5 1.5, 10 4)') CS