-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
BUG: intersection of polygons is not symmetric #741
Comments
It's simpler to say that the intersection computed for B and A is incorrect. But may be useful to know that it's order-sensitive. |
This does not seem to be a problem in JTS. |
If you flip JTS to using an unordered map, as GEOS did, do you generate the bug in JTS? |
I'll try and check this. Although the difference here is that this works in JTS, whereas in #827 JTS also fails. |
This seems to work in GEOS 3.14. The results have different vertex order, but they are topologically identical. @brendan-ward are you able to test? |
First reported in Shapely #1623.
Given
a.wkt
:and
b.wkt
:The intersection of
a
andb
is not equivalent to the intersection ofb
anda
(is sensitive to order).The text was updated successfully, but these errors were encountered: