[geos-devel] [GEOS] #591: Port robust determinant fixes from JTS

GEOS geos-trac at osgeo.org
Fri Nov 28 03:52:25 PST 2014

#591: Port robust determinant fixes from JTS
 Reporter:  strk        |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:  3.5.0                     
Component:  Default     |     Version:  3.3.5                     
 Severity:  Unassigned  |    Keywords:                            

Comment(by mloskot):

 I'm puzzled.
 I believe the two XML test files, ''TestIntersectsPL.xml''
 ''TestPreparedIntersectsPL.xml'', would be an equivalent to `test<7>` and
 `test<8>` from the ''geos_3.4_GEOSPreparedGeometryTest.cpp.patch''. But,
 not quite.

 The `test<7>` from `GEOSPreparedGeometryTest` fails indicating point on
 segment do not intersect, whereas the same test defined in the XML file

 xmltester.exe TestIntersectsPL.xml TestPreparedIntersectsPL.xml
 Files: 2
 Tests: 4
 Failed: 0
 Succeeded: 4

 Apart from constructing geometry object from WKB in the C++ test vs WKT in
 the XML test, what makes the result different?

 BTW, the tests defined in XML also pass with JTS 1.14 (SVN trunk).

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