Commit graph

4 commits

Author SHA1 Message Date
Paul Ramsey 748b0772df Prepared geometry mixed-types bug fix ported forward from 1.3.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3279 b70326c6-7e19-0410-871a-916f4a2858ee
2008-11-07 17:07:12 +00:00
Paul Ramsey f2a42d94ca Prepared geometries getting closer to readiness. Integrated into standard functions, regression tests added.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3085 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-10 04:39:54 +00:00
Ben Jubb 9f2acdc13d Changed the interface for the GEOS prepared predicates.
ST_contains, ST_containsProperly, ST_covers, and ST_intersects are now overloaded.  
The new arguments style is ( geometry, geometry, integer).  The third argument is used to determine when the first argument changes.  The assumption is that when the third argument changes, the first argument is assumed to have changed too.  This side-steps the issue of determining when the identity of the first geometry changes.




git-svn-id: http://svn.osgeo.org/postgis/trunk@2735 b70326c6-7e19-0410-871a-916f4a2858ee
2008-01-29 01:24:34 +00:00
Ben Jubb 103a48cd3e Tests for the prepared geometry predicates.
The tests were copied from regress_ogc, and modified.
Most of the tests use a pattern where the same function is invoked three times with the same argument.
This tests the prepared geometry caching mechanism.
This testfile haven't been added to regress/Makefile yet, as it fails for one case.  This 
probably due to a bug in GEOS.



git-svn-id: http://svn.osgeo.org/postgis/trunk@2729 b70326c6-7e19-0410-871a-916f4a2858ee
2008-01-18 00:59:13 +00:00