Opened 2 years ago

Closed 9 months ago

#1096 closed defect (fixed)

Fix RelateOp for empty geometry and closed linear geometry

Reported by: mdavis Owned by: dbaston
Priority: major Milestone: 3.9.3
Component: Core Version: 3.9.0
Severity: Significant Keywords:


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 (5)

comment:1 by pramsey, 2 years ago


comment:2 by pramsey, 19 months ago


comment:3 by dbaston, 9 months ago

Owner: changed from mdavis to dbaston
Status: assignednew
Note: See TracTickets for help on using tickets.