ST_INTERSECTION includes 1 extra edge in maria-5.3-gis

Bug #802194 reported by Philip Stoev on 2011-06-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
Undecided
Alexey Botchkov

Bug Description

The following expression:

SELECT AsText( ST_INTERSECTION( PolygonFromText(' POLYGON ( (0 5, 3 5, 3 0, 0 0, 0 1, 2 1, 2 2 , 1 2 , 1 3 , 2 3 , 2 4, 0 4 , 0 5) ) ') , MultiPolygonFromText(' POLYGON( (3 5, 2 5, 2 4, 3 4, 3 5) ) ') ) );

produces the following result:

POLYGON((2 4,2 5,0 5,3 5,3 4,2 4))

which contains the segment 2 5 , 0 5 , 3 5 which is incorrect.

Changed in maria:
milestone: none → 5.3
assignee: nobody → Alexey Botchkov (holyfoot)
Changed in maria:
milestone: 5.3 → none
Changed in maria:
status: New → Fix Committed
Changed in maria:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers