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

Intersect each part of a multipolygon with the clipping box individually #432

Merged
merged 3 commits into from
Oct 3, 2022

Conversation

systemed
Copy link
Owner

@systemed systemed commented Oct 1, 2022

On occasion boost::geometry can foul up when intersecting a complex multipolygon with the clipping box, with the result that the unclipped geometry is written. This can cause exciting rendering issues.

This PR works around the problem by intersecting each constituent polygon individually, and appending them to the output multipolygon.

Repository owner deleted a comment from Servicedesk09 Oct 1, 2022
@systemed systemed merged commit c4da4f1 into master Oct 3, 2022
@systemed systemed deleted the intersection_fix branch October 3, 2022 08:53
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