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

Use the antimeridian package #421

Closed
gadomski opened this issue May 8, 2023 · 0 comments · Fixed by #426
Closed

Use the antimeridian package #421

gadomski opened this issue May 8, 2023 · 0 comments · Fixed by #426
Assignees
Milestone

Comments

@gadomski
Copy link
Member

gadomski commented May 8, 2023

As a part of this month's Planetary Computer release, I developed a Python package for correcting complicated antimeridian-crossing and pole-crossing GeoJSON geometries: https://pypi.org/project/antimeridian/. It does almost everything our antimeridian fixer does, and more. We should update to use that package.

The only thing my package doesn't do is "normalization", aka going past 180 (or -180) instead of splitting. While "normalization" was desirable when we first made it, we've moved away from it, as it isn't technically spec-compliant. We could keep the normalization code around, or deprecate it for future removal.

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 a pull request may close this issue.

1 participant