Fix RelateOp for empty geometry and closed linear geometry
Port the JTS fix for this issue (PR 671).
This fixes a long-standing bug in relate which did not compute the correct DE-9IM dimension entry for Exterior-Boundary
for the case of an empty geometry and a closed linear geometry.
The original code defaulted the value of EB entry to 0. The correct algorithm needs to determine the entry based on whether the linear geometry has a non-empty boundary. In the case of closed linear geometries, the boundary is empty, and the EB entry is F. The boundary also depends on the Boundary Node Rule being used - all cases are now handled.
Change History
(8)
Owner: |
changed from mdavis to dbaston
|
Status: |
assigned → new
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
PR at https://github.com/libgeos/geos/pull/680