You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for a way to check if a list of cell id's (all same resolution) is a contiguous bloc.
My use case is a map picker where the user selects multiple hexagons but the selection must constitute one contiguous bloc.
My initial thought was to use h3.are_neighbor_cells (https://uber.github.io/h3-py/api_reference.html#h3.are_neighbor_cells but then I realised that not every cell has to be neighbours with every other cell to satisfy this contiguous bloc requirement.
Is there a method to perform such a check?
The text was updated successfully, but these errors were encountered:
I'm looking for a way to check if a list of cell id's (all same resolution) is a contiguous bloc.
My use case is a map picker where the user selects multiple hexagons but the selection must constitute one contiguous bloc.
My initial thought was to use
h3.are_neighbor_cells
(https://uber.github.io/h3-py/api_reference.html#h3.are_neighbor_cells but then I realised that not every cell has to be neighbours with every other cell to satisfy this contiguous bloc requirement.Is there a method to perform such a check?
The text was updated successfully, but these errors were encountered: