> ## 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_Points

Returns a MultiPoint geometry consisting of all the coordinates of the input geometry. It preserves duplicate points as well as M and Z coordinates.

<img src="https://mintcdn.com/wherobots/wLm_IRUSNlHZTHJP/images/sql-functions/ST_Points/ST_Points.svg?fit=max&auto=format&n=wLm_IRUSNlHZTHJP&q=85&s=907215895bb671d402102134983c985b" alt="ST_Points" width="500" height="300" data-path="images/sql-functions/ST_Points/ST_Points.svg" />

## Signatures

```sql theme={"system"}
ST_Points(geom: Geometry)
```

## Parameters

<ParamField body="geom" type="Geometry" required>
  The input geometry.
</ParamField>

## Return type

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

## Example

```sql theme={"system"}
SELECT ST_AsText(ST_Points(ST_GeomFromEWKT('LINESTRING (2 4, 3 3, 4 2, 7 3)')));
```

```
MULTIPOINT ((2 4), (3 3), (4 2), (7 3))
```
