7.52 SDO_GEOR.getCompressionType
Format
SDO_GEOR.getCompressionType( georaster IN SDO_GEORASTER ) RETURN VARCHAR2;
Description
Returns the compression type for a GeoRaster object.
Usage Notes
This function can return DEFLATE, JPEG-F, or NONE (the latter value meaning that the GeoRaster object is not compressed). For information about GeoRaster compression, see Compression and Decompression.
Examples
The following example returns the compression type for the GeoRaster objects (GEORASTER column) in the GEORASTER_TABLE table, whose definition is presented after Example 1-1 in Storage Parameters.
SELECT georid, substr(sdo_geor.getCompressionType(georaster),1,20) compressionType
FROM georaster_table;
GEORID COMPRESSIONTYPE
---------- --------------------
2 DEFLATE
4 JPEG-FParent topic: SDO_GEOR Package Reference