[geos-devel] Re: [GEOS] #358: Invalid output from Union

GEOS geos-trac at osgeo.org
Fri Aug 27 03:18:05 EDT 2010


#358: Invalid output from Union
------------------------+---------------------------------------------------
 Reporter:  strk        |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:                            
Component:  Default     |     Version:  svn-trunk                 
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------

Comment(by strk):

 So, confirmed as possible and found out JTS is indeed checking for this
 condition
 before passing the result back.
 Taking the same approach in GEOS (BinaryOp) will automatically fallback to
 next
 heuristic function (SnapOp) and succeed for this specific case.

 I'd commit such change (so we are closer to JTS). Only problem I have is
 case5 in robustness.xml which would then fail (rather than giving invalid
 result, that is...).
 Not a huge deal, but might raise the question of wheter or not invalid
 results should be accepted to give the user a chance to clean them up
 later...

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/358#comment:5>
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