Skip to main content

point_leaf_cell

Function point_leaf_cell 

Source
pub fn point_leaf_cell(lon: f64, lat: f64) -> CellId
Expand description

Covering of a 2D point: exactly the level-30 leaf cell.

Points do not snap to max_level — a polygon covering at level 24 skip-seeks [C.range_min, C.range_max], which already includes every finer descendant, so the leaf posting is found without any parent math.