SDO_GEOR.getTotalLayerNumber
Format
SDO_GEOR.getTotalLayerNumber(
georaster IN SDO_GEORASTER
) RETURN NUMBER;
Description
Returns the total number of layers in a GeoRaster object.
Parameters
georaster
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: Using storageParam Keywords in Storage Parameters.
SELECT georid, sdo_geor.getTotalLayerNumber(georaster) totalLayerNumber
FROM georaster_table;
GEORID TOTALLAYERNUMBER
---------- ----------------
2 1
4 3