-
Notifications
You must be signed in to change notification settings - Fork 369
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
ST_Crosses returns incorrect answer when dealing with geometry collection #1022
Comments
The IM matrix computed by
|
I can recreate this, but it's very sensitive to the floating-point value of the first point (7, 1), and the bug does not occur when the line string is replaced by a point.
|
This isn't a precision problem. It's an issue with the current |
Another trigger case seems to have the same root cause: bin/geosop -a 'GEOMETRYCOLLECTION (POINT (2 2), LINESTRING (0 0, 1 1))' -b 'LINESTRING ( 2 2, 3 3)' relate
# 1F10F0102 It says that |
Consider the following statement:
It is noticed that g2 and g3 present the same polygon with different order, while ST_Crosses(g1, g2) and ST_Crosses(g1, g3) give different results, which seems like a bug.
The result of ST_Crosses(g1, g2) is expected to be false because there is no interior intersection, according to the definition:
It can be reproduced by:
Version is the latest in github:
The text was updated successfully, but these errors were encountered: