7.79 SDO_GEOR.getPyramidType
Format
SDO_GEOR.getPyramidType( georaster IN SDO_GEORASTER ) RETURN VARCHAR2;
Description
Returns the pyramid type for a GeoRaster object.
Usage Notes
The pyramid type can be NONE (no pyramids) or DECREASE.
For information about pyramids, see Pyramids.
Examples
The following example returns the pyramid type and level number of the top pyramid for the GeoRaster object (GEORASTER column) in the row with an GEORID column value of 21 in the GEORASTER_TABLE table, whose definition is presented after Example 1-1 in Storage Parameters.
SELECT substr(sdo_geor.getPyramidType(georaster),1,10) pyramidType,
sdo_geor.getPyramidMaxLevel(georaster) maxLevel
FROM georaster_table WHERE georid=21;
PYRAMIDTYP MAXLEVEL
---------- ----------
DECREASE 3Parent topic: SDO_GEOR Package Reference