From: Sandro Santilli Date: Wed, 18 Feb 2015 17:27:59 +0000 (+0000) Subject: Add note about missing operator tests X-Git-Tag: 2.2.0rc1~662 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae990c3a39a7de9d6690a5eeaf9057228a97fc30;p=postgis Add note about missing operator tests git-svn-id: http://svn.osgeo.org/postgis/trunk@13236 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/operators.sql b/regress/operators.sql index 38cf2341c..52dd94561 100644 --- a/regress/operators.sql +++ b/regress/operators.sql @@ -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