Deletes the pyramid of a raster object, resets its metadata, and removes the associated chunk data.
Syntax
raster ST_deletePyramid(raster source);Parameters
| Parameter | Description |
|---|---|
| source | The raster object. |
Description
ST_deletePyramid removes all pyramid levels from the raster object, resets its metadata, and deletes the chunk data stored for the object.
Example
UPDATE raster_table SET raster_obj = ST_deletePyramid(raster_obj) WHERE id = 1;