Open cuteDen-ECNU opened 2 months ago
This is an example of a long-standing design issue with the current topological predicate algorithm. See also:
While https://github.com/libgeos/geos/pull/937 was a fix for some cases of this type, it was not a fully general fix.
There is a new topological predicate algorithm being worked on which solves this problem. It should be ready by mid-2024.
Actually the expected result is 1F1F00FF2
(since A contains B, the Exterior of A does not interact with the Interior of B).
This result is correctly computed by the RelateNG algorithm.
Considering the following statement:
The intersection of interior-interior of g1 and g2 is
LINESTRING(2 4, 10 10)
whose dimension is 1. Thus the de9im code should be 1F1F001F2 instead of 0F1F001F2.The version of Geos is the latest one: bdceea6