202 | | By default the resulting polygon TAKES the NODATA values into account. The resulting polygon enclose only pixels actually having a value (different than the NODATA value). The ST_ConvexHull(raster, 'WITHNODATA') variant DO NOT TAKE the NODATA value into account. It generally returns a square or rectangle polygon that can be rotated or not depending on the rotation of the raster. If the raster is not rotated ST_ConvexHull(geometry, 'WITHNODATA') is (almost) equivalent to ST_Envelope(raster). |
203 | | |
204 | | '''ST_Shape(raster) -> polygon geometry'''- Returns . |
205 | | |
206 | | '''ST_AsPolygon(raster) -> polygon geometry set''' Returns a |
| 202 | By default the resulting polygon TAKES the NODATA values into account. The resulting polygon enclose only pixels having a significant value (different than the NODATA value). The ST_ConvexHull(raster, 'WITHNODATA') variant DO NOT TAKE the NODATA value into account. It generally returns a square or rectangle polygon that can be rotated or not depending on the rotation of the raster. If the raster is not rotated ST_ConvexHull(geometry, 'WITHNODATA') is (almost) equivalent to ST_Envelope(raster). |
| 203 | |
| 204 | '''ST_Shape(raster) -> polygon geometry'''- Returns a geometry encomparsing every pixel having a significant value (different than the NODATA value). This geometry might contain holes if some internal areas of the raster contain pixels with NODATA values. |
| 205 | |
| 206 | '''ST_AsPolygon(raster) -> polygon geometry set''' Returns a geometry for each |