34.5 SDO_WCS.PublishCoverage
Format
SDO_WCS.PublishCoverage( georaster IN SDO_GEORASTER, updateable IN VARCHAR2 DEFAULT 'FALSE');
or
SDO_WCS.PublishCoverage( user_name IN VARCHAR2, table_name IN VARCHAR2, column_name IN VARCHAR2, updateable IN VARCHAR2 DEFAULT 'FALSE');
Description
Publishes GeoRaster objects as WCS coverages.
Parameters
- georaster
-
A GeoRaster object to be published as a WCS coverage.
- user_name
-
Name of the user (schema) that owns the table with GeoRaster columns.
- table_name
-
Name of the GeoRaster table whose GeoRaster objects are to be published.
- column_name
-
Name of the GeoRaster column in
table_name
. - updateable
-
Contains the string
TRUE
if the published coverages are to be editable through a transaction request; contains the stringFALSE
(default) if the published coverages are not to be editable through a transaction request.
Usage Notes
A unique coverage Id is assigned to each GeoRaster published. The GetCapabilities Operation (WCS) response will show the newly generated coverage ID. A GeoRaster object can only be published once.
For information about support for WCS, see Web Coverage Service (WCS) Support.
Examples
The following example publishes a specific GeoRaster object (where ID=1
) from a table named GEORASTER_TABLE in the SCOTT schema as a coverage.
DECLARE
gr1 SDO_GEORASTER;
BEGIN
SELECT raster INTO gr1 FROM SCOTT.GEORASTER_TABLE where ID=1;
SDO_WCS.PublishCoverage(gr1);
END;
/
The following example publishes all GeoRaster objects in the RASTER column of the IMAGE table in the SCOTT schema.
CALL SDO_WCS.publishCoverage('SCOTT','IMAGE','RASTER');
Parent topic: SDO_WCS Package (Web Coverage Service)