Opened 3 years ago

Last modified 11 days ago

#694 new defect

PreparedPoint::intersects gives different results from Point::intersects

Reported by: strk Owned by: geos-devel@…
Priority: blocker Milestone: 3.6.2
Component: Default Version: 3.4.2
Severity: Unassigned Keywords:
Cc: mtnclimb@…

Description

A bug in PreparedPoint::intersects signature prevented it from being really prepared. The bug was fixed by r3988, which triggered no failures in the GEOS testsuite but triggered a failure in the PostGIS testsuite: http://trac.osgeo.org/postgis/ticket/2768

This makes me think that PreparedPoint::intersects behaves differentely from Point::intersects, which is the one we were hitting while the bug was present.

Change History (5)

comment:1 Changed 3 years ago by strk

I've reverted the signature fix with r3989, but this issue should be fixed or it makes no sense to have an unused implementation for PreparedPoint::intersects.

An automated testcase is needed in GEOS.

comment:2 Changed 3 years ago by strk

Milestone: 3.5.03.4.3
Version: svn-trunk3.4.2

Interesting enough, it looks like tests for prepared predicates are completely missing, see http://trac.osgeo.org/geos/browser/tags/3.4.2/tests/xmltester/tests/general/MISSING

Sounds about time to port those tests!

Assuming the bug is also in 3.4.3 (and would probably also be in 3.3.9)

comment:3 Changed 2 years ago by Mateusz Łoskot

See also #591 and r4038

comment:4 Changed 4 months ago by strk

Milestone: 3.4.33.6.1

Ticket retargeted after milestone deleted

comment:5 Changed 11 days ago by strk

Milestone: 3.6.13.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.