Permalink
Browse files

[GEOS-7780] Add WCS scale factor XML demo

  • Loading branch information...
1 parent 4895e68 commit 708e45b4142490e8fa2ff923b1dad3b85757d4c6 @bencaradocdavies bencaradocdavies committed Oct 2, 2016
Showing with 21 additions and 0 deletions.
  1. +21 −0 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.