Skip to main content
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

Return type

Geometry (Point)

Examples

Output (coordinates rounded):