]> granicus.if.org Git - postgis/commitdiff
Add note about missing operator tests
authorSandro Santilli <strk@keybit.net>
Wed, 18 Feb 2015 17:27:59 +0000 (17:27 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 18 Feb 2015 17:27:59 +0000 (17:27 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13236 b70326c6-7e19-0410-871a-916f4a2858ee

regress/operators.sql

index 38cf2341cc4afbc2dc4b2a03da0047867eb84536..52dd94561dfb818bcbf26aa77ba56e08dee630c2 100644 (file)
@@ -1,18 +1,25 @@
 --- operator testing (testing is on the BOUNDING BOX (2d), not the actual geometries)
 
+-- overlap or left of
+
 select '77','POINT(1 1)'::GEOMETRY &< 'POINT(1 1)'::GEOMETRY as bool;
 select '78','POINT(1 1)'::GEOMETRY &< 'POINT(2 1)'::GEOMETRY as bool;
 select '79','POINT(2 1)'::GEOMETRY &< 'POINT(1 1)'::GEOMETRY as bool;
 
+-- strictly left
+
 select '80','POINT(1 1)'::GEOMETRY << 'POINT(1 1)'::GEOMETRY as bool;
 select '81','POINT(1 1)'::GEOMETRY << 'POINT(2 1)'::GEOMETRY as bool;
 select '82','POINT(2 1)'::GEOMETRY << 'POINT(1 1)'::GEOMETRY as bool;
 
+-- overlap or right
 
 select '83','POINT(1 1)'::GEOMETRY &> 'POINT(1 1)'::GEOMETRY as bool;
 select '84','POINT(1 1)'::GEOMETRY &> 'POINT(2 1)'::GEOMETRY as bool;
 select '85','POINT(2 1)'::GEOMETRY &> 'POINT(1 1)'::GEOMETRY as bool;
 
+-- strictly right
+
 select '86','POINT(1 1)'::GEOMETRY >> 'POINT(1 1)'::GEOMETRY as bool;
 select '87','POINT(1 1)'::GEOMETRY >> 'POINT(2 1)'::GEOMETRY as bool;
 select '88','POINT(2 1)'::GEOMETRY >> 'POINT(1 1)'::GEOMETRY as bool;
@@ -45,5 +52,10 @@ select '104','MULTIPOINT(0 0, 7 7)'::GEOMETRY @ 'MULTIPOINT(0 0, 10 10)'::GEOMET
 select '105','MULTIPOINT(-0.0001 0, 7 7)'::GEOMETRY @ 'MULTIPOINT(0 0, 10 10)'::GEOMETRY as bool;
 
 
-
+-- TODO: overlap or below  &<|
+-- TODO: strictly below    <<|
+-- TODO: overlap or above  |&>
+-- TODO: strictly above    |>>
+-- TODO: same as           =
+-- TODO: nd overlap        &&& -- http://trac.osgeo.org/postgis/ticket/3036