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

Fix PreparedPolygonContains for GeometryCollection with MultiPoint #1008

Merged

Conversation

dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Dec 5, 2023

Fixes the Prepared Polygon Contains predicate for the case of a GeometryCollection containing a single MultiPoint with multiple elements.

bin/geosop -a "MULTIPOLYGON(((-60 -50,-70 -50,-60 -40,-60 -50)))" -b "GEOMETRYCOLLECTION(MULTIPOINT((-60 -50),(-63 -49)))" containsPrep
==> true

Fixes #1007.

@dr-jts dr-jts added the Bug label Dec 5, 2023
@dr-jts dr-jts merged commit 136e8e4 into libgeos:main Dec 5, 2023
28 checks passed
@dr-jts dr-jts deleted the fix-prepared-contains-gc-with-multipoint branch December 5, 2023 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prepared Contains mismatch with Contains
1 participant