[geos-devel] [GEOS] #615: ST_SymDifference triggers a crash in WKTWriter (?)

GEOS geos-trac at osgeo.org
Wed Jan 16 08:10:45 PST 2013


#615: ST_SymDifference triggers a crash in WKTWriter (?)
------------------------+---------------------------------------------------
 Reporter:  strk        |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  blocker     |   Milestone:  3.3.7                     
Component:  Default     |     Version:  3.3.6                     
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------

Comment(by strk):

 It's an infinite loop entered while trying to fix invalidities produced by
 CommonBitsRemoval.
 The code attempts a UnaryUnion to fix, but the UnaryUnion gets back to an
 invalidity

 I'm surprised that UnaryUnion doesn't drop the "too few points" geometry
 component:

 {{{
 CBR: result (after common-bits addition) is INVALID: Too few points in
 geometry component at or near point 16.570834296228949 46.516439037970301
 (16.570834296228948546 46.516439037970300774)
 CBR: result (after common-bits addition) fix_self_intersection
 (UnaryUnion)
 CBR: result (after common-bits addition) is INVALID: Too few points in
 geometry component at or near point 16.570834296228949 46.516439037970301
 (16.570834296228948546 46.516439037970300774)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/615#comment:1>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list