Was this helpful?
MPointFromText
MPOINTFROMTEXT(s string [, srid integer])
Alias: ST_MPOINTFROMTEXT
Returns a multipoint 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(MPOINTFROMTEXT('MULTIPOINT(0 1, 1 2, 2 4, 3 8)'));
--------------------------------
col1
--------------------------------
MULTIPOINT (0 1, 1 2, 2 4, 3 8)
--------------------------------
Last modified date: 08/28/2024