Skip to main content

geo_l11_bucket_range

Function geo_l11_bucket_range 

Source
pub fn geo_l11_bucket_range(cell_id: u64) -> Option<(u32, u32)>
Expand description

Inclusive level-11 dense-index range covered by cell_id.

Level ≥ 11: the single L11 ancestor bucket. Level < 11: the contiguous run of 4^(11 − level) L11 descendants (contiguous because one S2 cell never spans a face and the dense index is Hilbert-ordered within a face). Returns None for a malformed cell id.