Skip to content

Check for error from cellsToLinkedMultiPolygon; add test#477

Merged
ajfriend merged 1 commit intomasterfrom
aj/cells_to_poly_segfault
Jan 29, 2026
Merged

Check for error from cellsToLinkedMultiPolygon; add test#477
ajfriend merged 1 commit intomasterfrom
aj/cells_to_poly_segfault

Conversation

@ajfriend
Copy link
Copy Markdown
Collaborator

Fixes #476

We were not checking for errors coming from h3lib.cellsToLinkedMultiPolygon, which caused a segfault for the example given in the test.

Now, we still get an error in C for this large polygon example, but now we raise an error in Python instead of segfaulting.

@ajfriend ajfriend merged commit 44dd11f into master Jan 29, 2026
51 checks passed
@ajfriend ajfriend deleted the aj/cells_to_poly_segfault branch January 29, 2026 17:35
@ajfriend ajfriend mentioned this pull request Jan 29, 2026
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

Successfully merging this pull request may close these issues.

segfault in cells_to_h3shape

3 participants