Constructs a multi point from a text representation.
Syntax
NEW ST_MultiPoint(LONG VARCHAR text_representation[, INT srid])
Parameters
text_representation –
A string containing the text representation of a multi point. 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_MultiPoint Returns an ST_MultiPoint value constructed from the source string.
Examples
Example 1 –
The following returns MultiPoint ((10 10), (12 12), (14 10)).
SELECT NEW ST_MultiPoint('MultiPoint ((10 10), (12 12), (14 10))')