Skip to main content

H3_GET_BASE_CELL

Returns the base cell number of the given H3 index.

Syntax

H3_GET_BASE_CELL(h3)

Examples

SELECT H3_GET_BASE_CELL(644325524701193974);

┌──────────────────────────────────────┐
│ h3_get_base_cell(644325524701193974)
├──────────────────────────────────────┤
8
└──────────────────────────────────────┘
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today