Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Tests if a point is located within the box defined by the two points specified as min and max.
The point to be tested.
The minimum point value used to define the box.
The maximum point value used to define the box.
Returns 1 if location intersects with the specified box, otherwise 0.
The following statement returns the result 1:
SELECT ST_IntersectsRect(ST_Point(1,1,4326),ST_Point(0,0,4326), ST_Point(3,3,4326))