17.7 Oracle Implementation Extension for WCS
The Oracle WCS extension defines optional elements inside a wcs:Extension element in a WCS request, to let you control the following aspects of request processing.
-
GDAL
CreationOption
in a GetCoverage request -
CompressResponseFile
in a GetCoverage request
All formats included in your GDAL installation are supported the GetCoverage request. You can see the full list of formats and their names in the Capabilities XML document.
GDAL CreationOption in a GetCoverage Request
This element sends a -co
parameter to GDAL on GetCoverage requests. Every GDAL driver defines its own creation option parameters.
Examples:
-
XML Request:
<wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd" xmlns:ora="http://www.oracle.com/spatial/wcs" service="WCS" version="2.0.1"> <wcs:Extension> <ora:CreationOption>WORLDFILE=YES</ora:CreationOption> </wcs:Extension> <wcs:CoverageId>C0005</wcs:CoverageId> <wcs:format>image/jpeg</wcs:format> </wcs:GetCoverage>
-
KVP Request:
http://.../oraclespatial/wcs?service=WCS&version=2.0.1&request=GetCoverage&format=image/jpeg&coverageId=C0005&CO=WORLDFILE=YES
CompressResponseFile in a GetCoverage Request
This element compresses the generated image into a zip file.
Examples:
-
XML Request:
<wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd" xmlns:ora="http://www.oracle.com/spatial/wcs" service="WCS" version="2.0.1"> <wcs:Extension> <ora:CompressResponseFile>true</ora:CompressResponseFile> </wcs:Extension> <wcs:CoverageId>C0005</wcs:CoverageId> <wcs:format>image/jpeg</wcs:format> </wcs:GetCoverage>
-
KVP Request:
http://.../oraclespatial/wcs?service=WCS&version=2.0.1&request=GetCoverage&format=image/jpeg&coverageId=C0005&COMPRESS=YES
Parent topic: Web Coverage Service (WCS) Support