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

> Return the center of an H3 cell as a point geometry.

Returns the center of an H3 cell as a point geometry. This uses H3's cell center, which can differ from the centroid of the cell polygon because of the grid projection.

Coordinates are longitude/latitude (X/Y) in degrees. The result has SRID 0, consistent with `ST_H3ToGeom`. To assign WGS 84, use `ST_SetSRID(ST_H3ToPoint(cell), 4326)`.

Null input returns null. Invalid cell indexes raise an error.

## Signature

```sql theme={"system"}
ST_H3ToPoint(cell: Long)
```

## Return type

`Geometry` (Point)

## Examples

```sql theme={"system"}
SELECT ST_AsText(ST_H3ToPoint(617700169958293503))
```

Output (coordinates rounded):

```text theme={"system"}
POINT (-122.41845932318309 37.77670234943567)
```


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