Skip to main content

H3_TO_CENTER_CHILD

Returns the center child index at the specified resolution.

Syntax

H3_TO_CENTER_CHILD(h3, res)

Examples

SELECT H3_TO_CENTER_CHILD(599119489002373119, 15);

┌────────────────────────────────────────────┐
│ h3_to_center_child(599119489002373119, 15)
├────────────────────────────────────────────┤
644155484202336256
└────────────────────────────────────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today