SDO_GEOR.hasBitmapMask
Format
SDO_GEOR.hasBitmapMask(
georaster IN SDO_GEORASTER,
layerNumber IN NUMBER
) RETURN VARCHAR2;
Description
Checks if a GeoRaster object or layer has an associated bitmap mask.
Parameters
georaster
GeoRaster object.
layerNumber
Number of the layer to check. A value of 0 (zero) indicates the object layer.
Usage Notes
This function returns the string TRUE if the GeoRaster object or layer has an associated bitmap mask, or FALSE if it does not have an associated bitmap mask.
For an explanation of bitmap masks, see Bitmap Masks.
Examples
The following example checks if layers 0 through 4 of a specified GeoRaster object have associated bitmap masks.
SELECT substr(sdo_geor.hasBitmapMask(georaster,0),1,12) BM0,
substr(sdo_geor.hasBitmapMask(georaster,1),1,12) BM1,
substr(sdo_geor.hasBitmapMask(georaster,2),1,12) BM2,
substr(sdo_geor.hasBitmapMask(georaster,3),1,12) BM3
FROM georaster_table WHERE georid=0;