RS_ConvexHull¶
Introduction: Return the convex hull geometry of the raster including the NoDataBandValue band pixels. For regular shaped and non-skewed rasters, this gives more or less the same result as RS_Envelope and hence is only useful for irregularly shaped or skewed rasters.
Format: RS_ConvexHull(raster: Raster)
Since: v1.5.0
SQL Example
SELECT RS_ConvexHull(RS_MakeEmptyRaster(1, 5, 10, 156, -132, 5, 10, 3, 5, 0));
Output:
POLYGON ((156 -132, 181 -107, 211 -7, 186 -32, 156 -132))