H3_CELL_TO_POINT
functionsupportedCore SQL functionsReturns the GEOGRAPHY object representing the Point that is the centroid of an H3 cell.
Syntax
H3_CELL_TO_POINT( <cell_id> )
Parameters
| Name | Required | Description |
|---|---|---|
cell_id | required | An INTEGER that represents the H3 cell ID (index), or a VARCHAR that represents the cell ID in hexadecimal format. |
Returns
Returns a GEOGRAPHY object for the Point that represents the centroid of the H3 cell with the specified ID.