Opened 4 years ago

Closed 4 years ago

#10887 closed Bugs (fixed)

Error in within() (and relate()) for Linear/MultiPolygon

Reported by: awulkiew Owned by: awulkiew
Milestone: Boost 1.58.0 Component: geometry
Version: Boost 1.57.0 Severity: Problem
Keywords: within, relate, linestring, multi_polygon Cc:

Description

The following relation operations returns wrong result:

// In all cases below the within() should return true

within("LINESTRING(5 -2,5 2)",
       "MULTIPOLYGON(((5 0,0 5,10 5,5 0)),((5 0,10 -5,0 -5,5 0)))")
within("LINESTRING(5 -2,5 5)",
       "MULTIPOLYGON(((5 0,0 5,10 5,5 0)),((5 0,10 -5,0 -5,5 0)))")
within("LINESTRING(5 -2,5 0)",
       "MULTIPOLYGON(((5 0,0 5,10 5,5 0)),((5 0,10 -5,0 -5,5 0)))")

Change History (1)

comment:1 Changed 4 years ago by awulkiew

Milestone: To Be DeterminedBoost 1.58.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.