Opened 3 years ago

Last modified 3 months 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@…


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:

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

Version: svn-trunk3.4.2

Interesting enough, it looks like tests for prepared predicates are completely missing, see

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 mloskot

See also #591 and r4038

comment:4 Changed 7 months ago by strk


Ticket retargeted after milestone deleted

comment:5 Changed 3 months ago by strk


Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.