Bug #79031 Make ST_SymDifference(gc, gc) more numerically robust
Submitted: 30 Oct 2015 7:50 Modified: 3 Nov 2015 16:01
Reporter: Norvald Ryeng Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: GIS Severity:S3 (Non-critical)
Version:5.7.9 OS:Any
Assigned to: CPU Architecture:Any

[30 Oct 2015 7:50] Norvald Ryeng
Description:
Rewrite symmetric difference of geometry collections from

    difference(union(A, B), intersection(A, B))

to
    union(difference(A, B), difference(B, A))

in order to make the algorithm more numerically robust.

How to repeat:
Code inspection.
[3 Nov 2015 16:01] Paul DuBois
Noted in 5.7.10, 5.8.0 changelogs.

ST_SymDifference() could raise an assertion for polygons with
self-intersection points.