PostGIS
Name
&&(box2df,geometry) — Returns TRUE
if a 2D float precision bounding
box (BOX2DF) intersects a geometry’s (cached) 2D bounding box.
Description
The &&
operator returns TRUE
if the 2D bounding box A intersects
the cached 2D bounding box of geometry B, using float precision. This
means that if A is a (double precision) box2d, it will be internally
converted to a float precision 2D bounding box (BOX2DF)
|
Availability: 2.3.0 support for Block Range INdexes (BRIN) was introduced. Requires PostgreSQL 9.5+.
This method supports Circular Strings and Curves
This function supports Polyhedral surfaces.
Examples
SELECT ST_MakeBox2D(ST_Point(0,0), ST_Point(2,2)) && ST_Point(1,1) AS overlaps;
overlaps
----------
t
(1 row)
See Also
&&(geometry,box2df), &&(box2df,box2df), ~(geometry,box2df), ~(box2df,geometry), ~(box2df,box2df), @(geometry,box2df), @(box2df,geometry), @(box2df,box2df)
&&(geometry,box2df) |
&&(box2df,box2df) |