Skip to main content
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. RS_ConvexHull

Signatures

RS_ConvexHull(raster: Raster)

Parameters

raster
Raster
required
The input raster.

Return type

The resulting geometry.

Example

SELECT RS_ConvexHull(RS_MakeEmptyRaster(1, 5, 10, 156, -132, 5, 10, 3, 5, 0));
POLYGON ((156 -132, 181 -107, 211 -7, 186 -32, 156 -132))