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

Implement s2_rebuild_together() #187

Open
paleolimbot opened this issue Jun 23, 2022 · 0 comments
Open

Implement s2_rebuild_together() #187

paleolimbot opened this issue Jun 23, 2022 · 0 comments

Comments

@paleolimbot
Copy link
Collaborator

Right now s2_rebuild() treats all inputs as separate, which can result in problems when simplifying layers like polygon coverages and contour lines where creating new crossing edges would invalidate the layer topology. S2 provides a mechanism to rebuild multiple features together without creating new crossing edges which we should implement here: https://github.com/google/s2geometry/blob/master/src/s2/s2builder.h#L113-L117 .

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

1 participant