This function creates a pyramid for a raster object.

Syntax

raster ST_BuildPyramid(raster source);
raster ST_BuildPyramid(raster source, cstring chunkTableName);

Parameters

Parameter Description
source The raster object.
chunkTableName The name of the chunk table for storing the pyramid.

Examples

Update raster_table set raster_obj = ST_BuildPyramid(raster_obj) where id = 1;

Update raster_table set raster_obj = ST_BuildPyramid(raster_obj, 'chunk_table') where id = 2;