> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_MPointFromText

Constructs a MultiPoint from the WKT with the given SRID. If SRID is not provided then it defaults to 0. It returns `null` if the WKT is not a `MULTIPOINT`.

## Signatures

```sql theme={"system"}
ST_MPointFromText (Wkt: String)
```

```sql theme={"system"}
ST_MPointFromText (Wkt: String, srid: Integer)
```

## Parameters

<ParamField body="Wkt" type="String" required>
  A Well-Known Text (WKT) representation of a geometry.
</ParamField>

<ParamField body="srid" type="Integer">
  Spatial Reference Identifier.
</ParamField>

## Return type

<ResponseField type="Geometry">
  The resulting geometry.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_MPointFromText('MULTIPOINT ((10 10), (20 20), (30 30))')
```

```
MULTIPOINT ((10 10), (20 20), (30 30))
```
