Updates the overview of a destination raster object using one or more source raster objects.
Syntax
raster ST_UpdateOverview(raster raster_obj, raster source[]);Parameters
| Parameter | Description |
|---|---|
| raster_obj | The destination raster object. |
| source | The source raster object or object set. |
Usage notes
All raster objects passed to this function must meet the following requirements:
- They have the same number of bands.
- Either all objects are geographically referenced, or none of them are. If all are geographically referenced, world coordinates (geographic coordinates) are used for the mosaic operation.
- Pixel types can differ across objects. If world coordinates are used for the mosaic operation, all objects must share the same spatial reference system identifier (SRID) and pixel resolution.
Examples
Update raster_table set raster_obj = ST_UpdateOverview(raster_obj, Array(select raster_obj from raster_table_new)) where id = 1;