Calculates the quantiles of each band in a raster object and stores the results in the object's metadata.
Syntax
raster ST_StatsQuantile(raster raster_obj)Parameters
| Parameter | Description |
|---|---|
raster_obj | The raster object to calculate quantiles for. |
Description
ST_StatsQuantile calculates quantiles for each band in the raster object and stores the results in the object's metadata.
Examples
The following example calculates quantiles for the raster object in row id = 1 and writes the results back to the raster column.
UPDATE rat_quantile
SET raster = ST_StatsQuantile(raster)
WHERE id = 1;该文章对您有帮助吗?