Skip to content

v4.5.0a2#484

Merged
ajfriend merged 6 commits intomasterfrom
aj/v4.5.0a2
Feb 28, 2026
Merged

v4.5.0a2#484
ajfriend merged 6 commits intomasterfrom
aj/v4.5.0a2

Conversation

@ajfriend
Copy link
Collaborator

[4.5.0a2] - 2026-02-27

  • cells_to_h3shape/cells_to_geo now handle all valid cell sets, including sets that would produce global polygons crossing the antimeridian, poles, or are larger than a hemisphere
    • Duplicate cells now raise H3DuplicateInputError
    • Mixed-resolution cells now raise H3ResMismatchError
    • Internal: switch from linked-list to array-based C API for cells-to-polygon conversion

@ajfriend
Copy link
Collaborator Author

ajfriend commented Feb 28, 2026

One thing to note: the polygon associated with cells0 in these tests (from #482) causes polygonToCells to return different cell counts depending on platform (23 on macOS, 21 on Linux). This could be a useful stress test upstream when revisiting the polygonToCells algorithm in the C library.

@ajfriend ajfriend merged commit adba976 into master Feb 28, 2026
41 checks passed
@ajfriend ajfriend deleted the aj/v4.5.0a2 branch February 28, 2026 03:28
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.

2 participants