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

> Cover Geometry with H3 Cells and return a List of Long type cell IDs :param cells: h3 cells :return: the reversed multipolygon :rtype: Geometry

Cover Geometry with H3 Cells and return a List of Long type cell IDs

SQL reference: [`ST_H3ToGeom`](/reference/wherobots-db/geometry-data/spatial-indexing/ST_H3ToGeom)

## Signature

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

ST_H3ToGeom(cells: Union[ColumnOrName, list]) -> Column
```

## Parameters

<ParamField path="cells" type="Union[ColumnOrName, list]" required>
  h3 cells
</ParamField>

## Returns

<ResponseField name="return" type="Geometry">
  the reversed multipolygon
</ResponseField>


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