Constructs a linestring from a text representation.
NEW ST_LineString(text-representation[, srid])
text-representation
LONG VARCHAR
A string containing the text representation of a linestring. 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 linestring 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.2.2
The following returns LineString (0 0, 5 10)
SELECT NEW ST_LineString('LineString (0 0, 5 10)')