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

Return the envelope boundary of A

<img src="https://mintcdn.com/wherobots/fqh3gPDE0J25Lra_/images/sql-functions/ST_Envelope/ST_Envelope.svg?fit=max&auto=format&n=fqh3gPDE0J25Lra_&q=85&s=7586ed245fd6e318f7f3c4a0875df736" alt="ST_Envelope" width="400" height="160" data-path="images/sql-functions/ST_Envelope/ST_Envelope.svg" />

## Signatures

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

## Parameters

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

## Return type

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

## Example

```sql theme={"system"}
SELECT ST_Envelope(ST_GeomFromWKT('LINESTRING(0 0, 1 3)'))
```

```
POLYGON ((0 0, 0 3, 1 3, 1 0, 0 0))
```
