Skip to content

Returns the base cell number of the given H3 index.

func.h3_get_base_cell(h3)
func.h3_get_base_cell(644325524701193974)
┌───────────────────────────────────────────┐
│ func.h3_get_base_cell(644325524701193974) │
├───────────────────────────────────────────┤
8
└───────────────────────────────────────────┘
H3_GET_BASE_CELL(h3)
SELECT H3_GET_BASE_CELL(644325524701193974);
┌──────────────────────────────────────┐
│ h3_get_base_cell(644325524701193974) │
├──────────────────────────────────────┤
8
└──────────────────────────────────────┘