From: Kevin Neufeld Date: Thu, 22 Jan 2009 00:44:07 +0000 (+0000) Subject: moved over &>| from reference.xml to reference_new.xml in the documentation X-Git-Tag: 1.4.0b1~286 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7da124c0a62ace446776d8e56725ccbbf817696;p=postgis moved over &>| from reference.xml to reference_new.xml in the documentation git-svn-id: http://svn.osgeo.org/postgis/trunk@3550 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index e6d2d0f06..c9dad9e35 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -176,15 +176,6 @@ - - A &<| B - - - The "&<|" operator returns true if A's bounding box - overlaps or is below B's bounding box. - - - A |&> B diff --git a/doc/reference_new.xml b/doc/reference_new.xml index c9434bdd5..6097c3861 100644 --- a/doc/reference_new.xml +++ b/doc/reference_new.xml @@ -7700,7 +7700,7 @@ FROM ( VALUES See Also - , + , , @@ -7716,7 +7716,7 @@ FROM ( VALUES + "boolean &<( geometry A, geometry B)" --> boolean &< @@ -7765,7 +7765,72 @@ FROM See Also - , + , , + + + + + + &<| + + Returns TRUE if A overlaps or is below B. + + + + + + + boolean &<| + + + geometry + + A + + + + geometry + + B + + + + + + + Description + + The &<| operator returns TRUE if the bounding box of geometry A + overlaps or is below of the bounding box of geometry B, or more accurately, overlaps or is NOT above the bounding + box of geometry B. + + + + Examples + + SELECT tbl1.column1, tbl2.column1, tbl1.column2 &<| tbl2.column2 AS overlaps +FROM + ( VALUES + (1, 'LINESTRING(6 0, 6 4)'::geometry)) AS tbl1, + ( VALUES + (2, 'LINESTRING(0 0, 3 3)'::geometry), + (3, 'LINESTRING(0 1, 0 5)'::geometry), + (4, 'LINESTRING(1 2, 4 6)'::geometry)) AS tbl2; + + column1 | column1 | overlaps +---------+---------+---------- + 1 | 2 | f + 1 | 3 | t + 1 | 4 | t +(3 rows) + + + + See Also + + , , @@ -7781,7 +7846,7 @@ FROM + "boolean &>( geometry A, geometry B)" --> boolean &> @@ -7830,7 +7895,7 @@ FROM See Also - , + , ,