Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H3ResDomainError using compact_cells in v4 #312

Open
JochimMaene opened this issue Feb 9, 2023 · 1 comment
Open

H3ResDomainError using compact_cells in v4 #312

JochimMaene opened this issue Feb 9, 2023 · 1 comment

Comments

@JochimMaene
Copy link

JochimMaene commented Feb 9, 2023

I get a H3ResDomainError error when using compact_cells in v4. For a small number of cells, this error doesn't occur, and I couldn't find a pattern yet why exactly it happens. This error didn't occur in v3. An example which fails:

import h3
res0_cells = h3.get_res0_cells()
res1_cells = {child for cell in res0_cells for child in h3.cell_to_children(cell)}
h3.compact_cells(res1_cells)
@JochimMaene JochimMaene changed the title H3ResDomainError using cell_to_children in v4 H3ResDomainError using compact_cells in v4 Feb 9, 2023
@Javier-Jimenez99
Copy link

Same error here. Seems like it only happends when it is a big group of cells.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants