Skip to content

55 bug boundary polygons are corrupted - #57

Merged
dgraf-gh merged 3 commits into
mainfrom
55-bug-boundary-polygons-are-corrupted
Aug 10, 2026
Merged

55 bug boundary polygons are corrupted#57
dgraf-gh merged 3 commits into
mainfrom
55-bug-boundary-polygons-are-corrupted

Conversation

@dgraf-gh

Copy link
Copy Markdown
Contributor

No description provided.

…`Polygonizer` for improved ring stitching and simplify polygon creation. Added comprehensive tests for hole containment and geometry validity in Thuringia boundaries.
…undary processing

- Added antimeridian handling in ring stitching and unwrapping logic.
- Enhanced `HierarchyCache` to support boundaries crossing the antimeridian.
- Replaced bounding box logic with S2 geometry operations for better accuracy.
- Refactored MIR computation to exclude invalid geometries near the antimeridian.
- Updated boundary import logic to leverage `S2Polygon` for precise covering.
- Improved tests to include admin level 2 validation and hierarchy consistency checks.
@dgraf-gh
dgraf-gh merged commit da46156 into main Aug 10, 2026
1 check passed
@dgraf-gh
dgraf-gh deleted the 55-bug-boundary-polygons-are-corrupted branch August 10, 2026 05:32
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.

1 participant