7.94 SDO_GEOR.getTotalLayerNumber
Format
SDO_GEOR.getTotalLayerNumber( georaster IN SDO_GEORASTER ) RETURN NUMBER;
Description
Returns the total number of layers in a GeoRaster object.
Usage Notes
For information about layers, see Bands_ Layers_ and Metadata.
Examples
The following example returns the total number of layers in each GeoRaster object (GEORASTER column) in the GEORASTER_TABLE table, whose definition is presented after Example 1-1 in Storage Parameters.
SELECT georid, sdo_geor.getTotalLayerNumber(georaster) totalLayerNumber FROM georaster_table; GEORID TOTALLAYERNUMBER ---------- ---------------- 2 1 4 3
Parent topic: SDO_GEOR Package Reference