Was this helpful?
MLineFromText
MLINEFROMTEXT(s string [, srid integer])
Alias: ST_MLINEFROMTEXT
Returns a multilinestring object that corresponds to the Well Known Text (WKT) in s. The SRID can optionally be specified. It is -1 by default.
Result type: geometry
Example:
SELECT ASTEXT(MLINEFROMTEXT('MULTILINESTRING((0 0,10 10),(10 0,0 10))'));
--------------------------------
col1
--------------------------------
MULTILINESTRING ((0 0, 10 10), (10 0, 0 10))
--------------------------------
Last modified date: 04/03/2024