[geos-devel] [GEOS] #764: PreparedPoint::intersects gives incorrect results for MultiPoint

GEOS geos-trac at osgeo.org
Tue Jan 19 17:52:56 PST 2016


#764: PreparedPoint::intersects gives incorrect results for MultiPoint
------------------------+--------------------------
 Reporter:  dbaston     |      Owner:  geos-devel@…
     Type:  defect      |     Status:  new
 Priority:  major       |  Milestone:  3.5.1
Component:  Default     |    Version:  3.5.0
 Severity:  Unassigned  |   Keywords:
------------------------+--------------------------
 It seems that if a PreparedPoint is build from a MultiPoint, intersects()
 will return false for any point, for two independent reasons.

 a) PreparedPoint::intersects short-circuits to an equality test.  It looks
 like this was introduced at r4081 / r4132.

 b) the isAnyTargetComponentInTest method does its work using a
 PointLocator, which seems to have no implementation for a Point.

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


More information about the geos-devel mailing list