Opened 14 years ago
Closed 14 years ago
#795 closed enhancement (fixed)
[raster] ST_Intersects raster documentation is confusing
Reported by: | pracine | Owned by: | pracine |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | raster | Version: | master |
Keywords: | Cc: |
Description (last modified by )
The description says: "Returns true if any pixel in a raster band has a value that is not nodatavalue and that geometry region of the pixel intersects the geometry. If hasnodata is passed in, then it will use that to consider if it needs to analyze pixels (true) means analyze pixels, if the convexhull intersects the geometry. false means just return true if the convex hull of the raster intersects with the geometry. If hasnodata is omitted, it reads the value from the meta data of the raster."
The last sentence is false.
Better proposition:
-"Returns true if the geometry intersects with the raster. Nodata values are taken into account so that if the geometry intersects only with nodata values, the function returns false. hasnodata may modify this behavior: if set to false, nodata value are not taken into account and the function returns true as soon as the geometry intersects with the convex hull of the raster."
Change History (2)
comment:1 by , 14 years ago
Description: | modified (diff) |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed at r6675