313 | | This function permform a full intersection test and proceed in two steps to determine if the raster intersects with the geometry: |
314 | | |
315 | | 1) First, it checks if the geometry returned by ST_ConvexHull(raster) intersects with the geometry. |
316 | | |
317 | | 2) If the first test returns TRUE, it checks if the geometry returned by ST_Shape(raster) intersects with the geometry. This test is slower since it involve the computation of the raster shape and it might involve the geometry shape. |
| 313 | This function permform a full intersection test and proceed in three steps to determine if the raster intersects with the geometry: |
| 314 | |
| 315 | 1) First, it checks if the bounding box of the raster intersects with the bounding box of the geometry. |
| 316 | |
| 317 | 2) If the first test returns TRUE, it checks if the geometry returned by ST_ConvexHull(raster) intersects with the geometry. |
| 318 | |
| 319 | 3) If the second test returns TRUE, it checks if the geometry returned by ST_Shape(raster) intersects with the geometry. This test is slower since it involve the computation of the raster shape and it might involve the geometry shape. |