PostGIS
Name
@(geometry,box2df) — Returns TRUE
if a geometry’s 2D bounding box is
contained into a 2D float precision bounding box (BOX2DF).
Description
The @
operator returns TRUE
if the A geometry’s 2D bounding box
is contained the 2D bounding box B, using float precision. This means
that if B 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_Buffer(ST_GeomFromText('POINT(2 2)'), 1) @ ST_MakeBox2D(ST_Point(0,0), ST_Point(5,5)) AS is_contained;
is_contained
--------------
t
(1 row)