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

Return points of the geometry

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

## Signatures

```sql theme={"system"}
ST_NPoints (A: Geometry)
```

## Parameters

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

## Return type

<ResponseField type="Integer">
  An integer value.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_NPoints(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)'))
```

```
4
```
