[postgis-users] Intersects with empty boxes error

Daniel FAIVRE daniel.faivre at camptocamp.com
Tue Jan 25 08:13:22 PST 2005


Hello,

With a code developped for previous versions, I've used to test 
intersections, within, or contains with "point  boxes": like this:

1) SELECT intersects(geometryfromtext('BOX3D(10 10, 10 10)', -1), 
geometryfromtext('BOX3D(0 0, 20 20)', -1))

A true result is expected, like for:

2) SELECT intersects(geometryfromtext('BOX3D(10 10, 10 10)', -1), 
geometryfromtext('BOX3D(0 0, 20 20)', -1))

My new version is:
POSTGIS=0.9.1 GEOS=2.1.1 PROJ=Rel. 4.4.7, 31 March 2003 USE_STATS 
DBPROC=0.0.1 RELPROC=0.0.1
The old one was a postgis 0.8.1 with GEOS 1.0

It has worked before, but now, request 1 return a false result. Is it a 
known bug ?

Sincerely yours,

Daniel FAIVRE




More information about the postgis-users mailing list