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>152 / 310DescriptionThe && operator returns TRUE if the bounding box of geometry A overlaps the bounding box of geometry B.NoteThis operand will make use of any indexes that may be available on the geometries.Availability: 1.5.0 support for geography was introduced.This method supports Circular Strings and CurvesExamplesSELECT tbl1.column1, tbl2.column1, tbl1.column2 && tbl2.column2 AS overlapsFROM ( VALUES(1, ’LINESTRING(0 0, 3 3)’::geometry),(2, ’LINESTRING(0 1, 0 5)’::geometry)) AS tbl1,( VALUES(3, ’LINESTRING(1 2, 4 6)’::geometry)) AS tbl2;column1 | column1 | overlaps---------+---------+----------1 | 3 | t2 | 3 | f(2 rows)See Also|&>, &>, &

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

Saved successfully!

Ooh no, something went wrong!