> ## 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_ConvexHull (Python)

> Generate the convex hull of a geometry column.

Generate the convex hull of a geometry column.

SQL reference: [`ST_ConvexHull`](/reference/wherobots-db/geometry-data/processing/ST_ConvexHull)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_functions import ST_ConvexHull

ST_ConvexHull(geometry: ColumnOrName) -> Column
```

## Parameters

<ParamField path="geometry" type="ColumnOrName" required>
  Geometry column to generate a convex hull for.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Convex hull of geometry as a geometry column.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.