Skip to content

Commit

Permalink
[GEOS-7780] Add WCS scale factor XML demo
Browse files Browse the repository at this point in the history
  • Loading branch information
bencaradocdavies committed Oct 2, 2016
1 parent 4895e68 commit 708e45b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions data/release/demo/WCS_getCoverage_2.0.1_scale_factor.xml
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Demonstrates use of WCS scale factor -->
<wcs:GetCoverage service="WCS" version="2.0.1"
xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/WCS_service-extension_scaling/1.0"
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">
<!--
The full schemaLocation permits schema-validation but causes the
request to fail [GEOS-7779]:
xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd
http://www.opengis.net/WCS_service-extension_scaling/1.0 http://schemas.opengis.net/wcs/scaling/1.0/wcsScal.xsd">
-->
<wcs:Extension>
<scal:Scaling>
<scal:ScaleByFactor>
<scal:scaleFactor>0.5</scal:scaleFactor>
</scal:ScaleByFactor>
</scal:Scaling>
</wcs:Extension>
<wcs:CoverageId>nurc__mosaic</wcs:CoverageId>
</wcs:GetCoverage>

0 comments on commit 708e45b

Please sign in to comment.