12.07.2015 Views

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PostGIS</strong> <strong>1.5.8</strong> <strong>Manual</strong>154 / 310column1 | column1 | overbelow---------+---------+-----------1 | 2 | f1 | 3 | t1 | 4 | t(3 rows)See Also&&, |&>, &>, &&> — Returns TRUE if A’ bounding box overlaps or is to the right of B’s.Synopsisboolean &>( geometry A , geometry B );DescriptionThe &> operator returns TRUE if the bounding box of geometry A overlaps or is to the right of the bounding box of geometry B,or more accurately, overlaps or is NOT to the left of the bounding box of geometry B.NoteThis operand will make use of any indexes that may be available on the geometries.ExamplesSELECT tbl1.column1, tbl2.column1, tbl1.column2 &> tbl2.column2 AS overrightFROM( VALUES(1, ’LINESTRING(1 2, 4 6)’::geometry)) AS tbl1,( VALUES(2, ’LINESTRING(0 0, 3 3)’::geometry),(3, ’LINESTRING(0 1, 0 5)’::geometry),(4, ’LINESTRING(6 0, 6 1)’::geometry)) AS tbl2;column1 | column1 | overright---------+---------+-----------1 | 2 | t1 | 3 | t1 | 4 | f(3 rows)See Also&&, |&>, &

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!