summaryrefslogtreecommitdiffstats
path: root/petascope/test/testcases-wcs
diff options
context:
space:
mode:
Diffstat (limited to 'petascope/test/testcases-wcs')
-rw-r--r--petascope/test/testcases-wcs/input/DescribeCoverage1.xml4
-rw-r--r--petascope/test/testcases-wcs/input/DescribeCoverage2.xml7
-rw-r--r--petascope/test/testcases-wcs/input/GetCapabilitiesMax.xml15
-rw-r--r--petascope/test/testcases-wcs/input/GetCoverage1.xml11
-rw-r--r--petascope/test/testcases-wcs/input/GetCoverage2.xml17
-rw-r--r--petascope/test/testcases-wcs/input/GetCoverage3.xml23
-rw-r--r--petascope/test/testcases-wcs/input/GetCoverage4.xml35
-rw-r--r--petascope/test/testcases-wcs/output/Capabilities.xml181
-rw-r--r--petascope/test/testcases-wcs/output/CoverageDescriptions1.xml4
-rw-r--r--petascope/test/testcases-wcs/output/CoverageDescriptions2.xml126
-rw-r--r--petascope/test/testcases-wcs/output/ProcessCoverage1.xml25
-rw-r--r--petascope/test/testcases-wcs/output/ProcessCoverage2.xml35
-rw-r--r--petascope/test/testcases-wcs/output/ProcessCoverage3.xml46
-rw-r--r--petascope/test/testcases-wcs/output/ProcessCoverage4.xml4
-rw-r--r--petascope/test/testcases-wcs/working/DescribeCoverage.1.xml7
-rw-r--r--petascope/test/testcases-wcs/working/GetCapabilities.xml15
-rw-r--r--petascope/test/testcases-wcs/working/GetCoverage.1.xml11
17 files changed, 566 insertions, 0 deletions
diff --git a/petascope/test/testcases-wcs/input/DescribeCoverage1.xml b/petascope/test/testcases-wcs/input/DescribeCoverage1.xml
new file mode 100644
index 0000000..81a72b7
--- /dev/null
+++ b/petascope/test/testcases-wcs/input/DescribeCoverage1.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<DescribeCoverage xmlns="http://www.opengis.net/wcs/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsDescribeCoverage.xsd" service="WCS" version="1.1.2">
+ <Identifier>coverage_not_offered_by_the_server</Identifier>
+</DescribeCoverage> \ No newline at end of file
diff --git a/petascope/test/testcases-wcs/input/DescribeCoverage2.xml b/petascope/test/testcases-wcs/input/DescribeCoverage2.xml
new file mode 100644
index 0000000..1b42a01
--- /dev/null
+++ b/petascope/test/testcases-wcs/input/DescribeCoverage2.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<DescribeCoverage xmlns="http://www.opengis.net/wcs/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsDescribeCoverage.xsd" service="WCS" version="1.1.2">
+<!-- <Identifier>mr</Identifier> -->
+ <Identifier>rgb</Identifier>
+ <Identifier>mr</Identifier>
+ <Identifier>mowglie</Identifier>
+</DescribeCoverage> \ No newline at end of file
diff --git a/petascope/test/testcases-wcs/input/GetCapabilitiesMax.xml b/petascope/test/testcases-wcs/input/GetCapabilitiesMax.xml
new file mode 100644
index 0000000..b17c714
--- /dev/null
+++ b/petascope/test/testcases-wcs/input/GetCapabilitiesMax.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<GetCapabilities xmlns="http://www.opengis.net/wcs/1.1"
+xmlns:owcs="http://www.opengis.net/wcs/1.1/ows"
+service="WCS">
+ <owcs:AcceptVersions>
+ <owcs:Version>1.0.0</owcs:Version>
+ <owcs:Version>0.8.3</owcs:Version>
+ </owcs:AcceptVersions>
+ <owcs:Sections>
+ <owcs:Section>Contents</owcs:Section>
+ </owcs:Sections>
+ <owcs:AcceptFormats>
+ <owcs:OutputFormat>text/xml</owcs:OutputFormat>
+ </owcs:AcceptFormats>
+</GetCapabilities>
diff --git a/petascope/test/testcases-wcs/input/GetCoverage1.xml b/petascope/test/testcases-wcs/input/GetCoverage1.xml
new file mode 100644
index 0000000..4a4dadc
--- /dev/null
+++ b/petascope/test/testcases-wcs/input/GetCoverage1.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<GetCoverage xmlns="http://www.opengis.net/wcs/1.1" xmlns:ows="http://www.opengis.net/ows" xmlns:owcs="http://www.opengis.net/wcs/1.1/ows" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsGetCoverage.xsd http://www.opengis.net/gml ../../../gml/3.1.1/base/gml.xsd" service="WCS" version="1.1.0">
+ <owcs:Identifier>NIR</owcs:Identifier>
+ <DomainSubset>
+ <ows:BoundingBox>
+ <ows:LowerCorner>0 0</ows:LowerCorner>
+ <ows:UpperCorner>450 300</ows:UpperCorner>
+ </ows:BoundingBox>
+ </DomainSubset>
+ <Output format="image/jpeg" />
+</GetCoverage> \ No newline at end of file
diff --git a/petascope/test/testcases-wcs/input/GetCoverage2.xml b/petascope/test/testcases-wcs/input/GetCoverage2.xml
new file mode 100644
index 0000000..1000c9d
--- /dev/null
+++ b/petascope/test/testcases-wcs/input/GetCoverage2.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<GetCoverage xmlns="http://www.opengis.net/wcs/1.1" xmlns:ows="http://www.opengis.net/ows" xmlns:owcs="http://www.opengis.net/wcs/1.1/ows" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsGetCoverage.xsd" service="WCS" version="1.1.0">
+ <!-- Partial example. Primary editor: Arliss Whiteside. Last updated 2006-09-20-->
+ <owcs:Identifier>TBD</owcs:Identifier>
+ <DomainSubset>
+ <ows:BoundingBox>
+ <ows:LowerCorner>9999 56</ows:LowerCorner>
+ <ows:UpperCorner>23 9999</ows:UpperCorner>
+ </ows:BoundingBox>
+ </DomainSubset>
+ <RangeSubset>
+ <FieldSubset>
+ <owcs:Identifier>TBDField</owcs:Identifier>
+ </FieldSubset>
+ </RangeSubset>
+ <Output format="image/gif" store="false"/>
+</GetCoverage> \ No newline at end of file
diff --git a/petascope/test/testcases-wcs/input/GetCoverage3.xml b/petascope/test/testcases-wcs/input/GetCoverage3.xml
new file mode 100644
index 0000000..5d71efa
--- /dev/null
+++ b/petascope/test/testcases-wcs/input/GetCoverage3.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<GetCoverage xmlns="http://www.opengis.net/wcs/1.1" xmlns:ows="http://www.opengis.net/ows" xmlns:owcs="http://www.opengis.net/wcs/1.1/ows" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsGetCoverage.xsd http://www.opengis.net/gml ../../../gml/3.1.1/base/gml.xsd" service="WCS" version="1.1.0">
+ <owcs:Identifier>rgb</owcs:Identifier>
+ <DomainSubset>
+ <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::26910">
+ <ows:LowerCorner>0 0</ows:LowerCorner>
+ <ows:UpperCorner>300 300</ows:UpperCorner>
+ </ows:BoundingBox>
+ </DomainSubset>
+ <RangeSubset>
+ <FieldSubset>
+ <owcs:Identifier>Wavelength</owcs:Identifier>
+ <InterpolationType>nearest</InterpolationType>
+ <AxisSubset>
+ <Identifier>Band</Identifier>
+ <Key>band1</Key>
+ <Key>band2</Key>
+ <Key>band3</Key>
+ </AxisSubset>
+ </FieldSubset>
+ </RangeSubset>
+ <Output format="image/GeoTIFF" store="true" />
+</GetCoverage> \ No newline at end of file
diff --git a/petascope/test/testcases-wcs/input/GetCoverage4.xml b/petascope/test/testcases-wcs/input/GetCoverage4.xml
new file mode 100644
index 0000000..4a339fe
--- /dev/null
+++ b/petascope/test/testcases-wcs/input/GetCoverage4.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<GetCoverage xmlns="http://www.opengis.net/wcs/1.1" xmlns:ows="http://www.opengis.net/ows" xmlns:owcs="http://www.opengis.net/wcs/1.1/ows" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsGetCoverage.xsd http://www.opengis.net/gml ../../../gml/3.1.1/base/gml.xsd" service="WCS" version="1.1.0">
+ <owcs:Identifier>SPVIEW_530_274_0_020809_5_1_J_3</owcs:Identifier>
+ <DomainSubset>
+ <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::26910">
+ <ows:LowerCorner>551182.3990 4173461.7219</ows:LowerCorner>
+ <ows:UpperCorner>569339.8990 4192512.2137</ows:UpperCorner>
+ </ows:BoundingBox>
+ <TemporalSubset>
+ <gml:timePosition>2002-08-09T19:08:46Z</gml:timePosition>
+ </TemporalSubset>
+ </DomainSubset>
+ <RangeSubset>
+ <FieldSubset>
+ <owcs:Identifier>Wavelength</owcs:Identifier>
+ <InterpolationType>nearest</InterpolationType>
+ <AxisSubset>
+ <Identifier>Band</Identifier>
+ <Key>band1</Key>
+ <Key>band2</Key>
+ <Key>band3</Key>
+ </AxisSubset>
+ </FieldSubset>
+ </RangeSubset>
+ <Output format="image/GeoTIFF" store="true">
+ <GridCRS gml:id="SPVIEW_530_274_0_020809_5_1_J_3_SUBSET_CRS">
+ <gml:srsName>SPVIEW_530_274_0_020809_5_1_J_3_SUBSET_CRS</gml:srsName>
+ <GridBaseCRS>urn:ogc:def:crs:EPSG::4326</GridBaseCRS>
+ <GridType>urn:ogc:def:method:WCS:1.1:grid2dIn2dMethod</GridType>
+ <GridOrigin>-122.4193 37.7058</GridOrigin>
+ <GridOffsets>0.0006926667 0 0 -0.000548889</GridOffsets>
+ <GridCS>urn:ogc:def:cs:OGC:0.0:Grid2dSquareCS</GridCS>
+ </GridCRS>
+ </Output>
+</GetCoverage> \ No newline at end of file
diff --git a/petascope/test/testcases-wcs/output/Capabilities.xml b/petascope/test/testcases-wcs/output/Capabilities.xml
new file mode 100644
index 0000000..182cfeb
--- /dev/null
+++ b/petascope/test/testcases-wcs/output/Capabilities.xml
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<ns2:Capabilities xmlns="http://www.opengis.net/ows" xmlns:ns2="http://www.opengis.net/wcs/1.1" xmlns:ns3="http://www.opengis.net/wcs/1.1/ows" xmlns:ns4="http://www.w3.org/1999/xlink" xmlns:ns5="http://www.opengis.net/gml" xmlns:ns6="http://www.w3.org/2001/SMIL20/" xmlns:ns7="http://www.w3.org/2001/SMIL20/Language" version="1.1.0">
+ <ns3:ServiceIdentification>
+ <Title>WCS Coverage Server @ Jacobs University</Title>
+ <Abstract>WCS Server developed at jacobs University</Abstract>
+ <ns3:ServiceType>OGC WCS</ns3:ServiceType>
+ <ns3:Fees>NONE</ns3:Fees>
+ </ns3:ServiceIdentification>
+ <ServiceProvider>
+ <ProviderName>Jacobs University Bremen</ProviderName>
+ <ProviderSite ns4:href="http://www.jacobs-university.de/"/>
+ </ServiceProvider>
+ <ns3:OperationsMetadata>
+ <ns3:Operation name="GetCapabilities">
+ <ns3:DCP>
+ <ns3:HTTP>
+ <Soap xmlns:ns8="http://www.opengis.net/ows" xmlns="" ns4:href="http://localhost/SOAP/URL/for/GetCapabalities"/>
+ <Post xmlns:ns8="http://www.opengis.net/ows" xmlns="" ns4:href="http://localhost/please/replace/me/by/my/GetCapabilities/URL"/>
+ </ns3:HTTP>
+ </ns3:DCP>
+ </ns3:Operation>
+ <ns3:Operation name="GetCoverage">
+ <ns3:DCP>
+ <ns3:HTTP>
+ <Soap xmlns:ns8="http://www.opengis.net/ows" xmlns="" ns4:href="http://localhost/SOAP/URL/for/GetCapabalities"/>
+ <Post xmlns:ns8="http://www.opengis.net/ows" xmlns="" ns4:href="http://localhost/please/replace/me/by/my/GetCoverage/URL"/>
+ </ns3:HTTP>
+ </ns3:DCP>
+ <ns3:Constraint name="Format">
+ <ns3:AllowedValues>
+ <ns3:Value>image/jpeg</ns3:Value>
+ <ns3:Value>image/jpeg</ns3:Value>
+ <ns3:Value>image/png</ns3:Value>
+ <ns3:Value>image/tiff</ns3:Value>
+ <ns3:Value>image/tiff</ns3:Value>
+ <ns3:Value>application/x-octet-stream</ns3:Value>
+ </ns3:AllowedValues>
+ </ns3:Constraint>
+ <ns3:Constraint name="Format">
+ <ns3:AllowedValues>
+ <ns3:Value>text/xml</ns3:Value>
+ </ns3:AllowedValues>
+ </ns3:Constraint>
+ </ns3:Operation>
+ <ns3:Operation name="DescribeCoverage">
+ <ns3:DCP>
+ <ns3:HTTP>
+ <Soap xmlns:ns8="http://www.opengis.net/ows" xmlns="" ns4:href="http://localhost/SOAP/URL/for/GetCapabalities"/>
+ <Post xmlns:ns8="http://www.opengis.net/ows" xmlns="" ns4:href="http://localhost/please/replace/me/by/my/DescribeCoverage/URL"/>
+ </ns3:HTTP>
+ </ns3:DCP>
+ </ns3:Operation>
+ </ns3:OperationsMetadata>
+ <ns2:Contents>
+ <ns2:CoverageSummary>
+ <Title>Coverage SEGY002</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">SEGY002</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage Boonsville_SEGY</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">Boonsville_SEGY</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage Waha_SEGY</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">Waha_SEGY</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage mr</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">mr</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage rgb</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">rgb</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage nrg</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">nrg</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage Modis</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">Modis</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage mowglie</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">mowglie</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage whatevereeeee</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">whatevereeeee</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage climate_temperature</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">climate_temperature</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_1</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_1</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_2</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_2</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_3</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_3</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_4</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_4</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_5</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_5</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_6</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_6</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_7</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_7</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_8</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_8</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_9</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_9</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_10</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_10</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NN3_11</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NN3_11</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage TP</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">TP</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage climate_clouds</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">climate_clouds</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage climate_earth</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">climate_earth</Identifier>
+ </ns2:CoverageSummary>
+ <ns2:CoverageSummary>
+ <Title>Coverage NIR</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <Identifier xmlns:ns8="http://www.opengis.net/ows" xmlns="">NIR</Identifier>
+ </ns2:CoverageSummary>
+ </ns2:Contents>
+</ns2:Capabilities>
diff --git a/petascope/test/testcases-wcs/output/CoverageDescriptions1.xml b/petascope/test/testcases-wcs/output/CoverageDescriptions1.xml
new file mode 100644
index 0000000..0844d0c
--- /dev/null
+++ b/petascope/test/testcases-wcs/output/CoverageDescriptions1.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<ExceptionReport xmlns="http://www.opengis.net/ows" xmlns:ns2="http://www.w3.org/1999/xlink" language="en" version="1.0.0">
+ <Exception locator="Could not connect to the metadata database!" exceptionCode="NoApplicableCode"/>
+</ExceptionReport>
diff --git a/petascope/test/testcases-wcs/output/CoverageDescriptions2.xml b/petascope/test/testcases-wcs/output/CoverageDescriptions2.xml
new file mode 100644
index 0000000..84b073f
--- /dev/null
+++ b/petascope/test/testcases-wcs/output/CoverageDescriptions2.xml
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<ns2:CoverageDescriptions xmlns="http://www.opengis.net/ows" xmlns:ns2="http://www.opengis.net/wcs/1.1" xmlns:ns3="http://www.opengis.net/wcs/1.1/ows" xmlns:ns4="http://www.w3.org/1999/xlink" xmlns:ns5="http://www.opengis.net/gml" xmlns:ns6="http://www.w3.org/2001/SMIL20/" xmlns:ns7="http://www.w3.org/2001/SMIL20/Language">
+ <ns2:CoverageDescription>
+ <Title>Coverage rgb</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <ns2:Identifier>rgb</ns2:Identifier>
+ <ns2:Domain>
+ <ns2:SpatialDomain>
+ <BoundingBox xmlns:ns8="http://www.opengis.net/ows" xmlns="">
+ <ns8:LowerCorner>0.0 0.0</ns8:LowerCorner>
+ <ns8:UpperCorner>399.0 343.0</ns8:UpperCorner>
+ </BoundingBox>
+ </ns2:SpatialDomain>
+ </ns2:Domain>
+ <ns2:Range>
+ <ns2:Field>
+ <ns2:Identifier>red</ns2:Identifier>
+ <ns2:Definition>
+ <ns3:DataType>unsigned int</ns3:DataType>
+ </ns2:Definition>
+ <ns3:InterpolationMethods>
+ <ns3:DefaultMethod nullResistance="none">unsigned short</ns3:DefaultMethod>
+ </ns3:InterpolationMethods>
+ </ns2:Field>
+ <ns2:Field>
+ <ns2:Identifier>green</ns2:Identifier>
+ <ns2:Definition>
+ <ns3:DataType>unsigned int</ns3:DataType>
+ </ns2:Definition>
+ <ns3:InterpolationMethods>
+ <ns3:DefaultMethod nullResistance="none">unsigned short</ns3:DefaultMethod>
+ </ns3:InterpolationMethods>
+ </ns2:Field>
+ <ns2:Field>
+ <ns2:Identifier>blue</ns2:Identifier>
+ <ns2:Definition>
+ <ns3:DataType>unsigned int</ns3:DataType>
+ </ns2:Definition>
+ <ns3:InterpolationMethods>
+ <ns3:DefaultMethod nullResistance="none">unsigned short</ns3:DefaultMethod>
+ </ns3:InterpolationMethods>
+ </ns2:Field>
+ </ns2:Range>
+ <ns2:SupportedCRS></ns2:SupportedCRS>
+ <ns2:SupportedFormat>text/xml</ns2:SupportedFormat>
+ </ns2:CoverageDescription>
+ <ns2:CoverageDescription>
+ <Title>Coverage mr</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <ns2:Identifier>mr</ns2:Identifier>
+ <ns2:Domain>
+ <ns2:SpatialDomain>
+ <BoundingBox xmlns:ns8="http://www.opengis.net/ows" xmlns="">
+ <ns8:LowerCorner>0.0 0.0</ns8:LowerCorner>
+ <ns8:UpperCorner>255.0 210.0</ns8:UpperCorner>
+ </BoundingBox>
+ </ns2:SpatialDomain>
+ </ns2:Domain>
+ <ns2:Range>
+ <ns2:Field>
+ <ns2:Identifier>green</ns2:Identifier>
+ <ns2:Definition>
+ <ns3:DataType>unsigned int</ns3:DataType>
+ </ns2:Definition>
+ <ns3:InterpolationMethods>
+ <ns3:DefaultMethod nullResistance="none">unsigned short</ns3:DefaultMethod>
+ </ns3:InterpolationMethods>
+ </ns2:Field>
+ <ns2:Field>
+ <ns2:Identifier>grey</ns2:Identifier>
+ <ns2:Definition>
+ <ns3:DataType>unsigned int</ns3:DataType>
+ </ns2:Definition>
+ <ns3:InterpolationMethods>
+ <ns3:DefaultMethod nullResistance="none">unsigned short</ns3:DefaultMethod>
+ </ns3:InterpolationMethods>
+ </ns2:Field>
+ </ns2:Range>
+ <ns2:SupportedCRS></ns2:SupportedCRS>
+ <ns2:SupportedFormat>text/xml</ns2:SupportedFormat>
+ </ns2:CoverageDescription>
+ <ns2:CoverageDescription>
+ <Title>Coverage mowglie</Title>
+ <Abstract>Available coverage, fetched from the database</Abstract>
+ <ns2:Identifier>mowglie</ns2:Identifier>
+ <ns2:Domain>
+ <ns2:SpatialDomain>
+ <BoundingBox xmlns:ns8="http://www.opengis.net/ows" xmlns="">
+ <ns8:LowerCorner>0.0 0.0</ns8:LowerCorner>
+ <ns8:UpperCorner>119.0 158.0</ns8:UpperCorner>
+ </BoundingBox>
+ </ns2:SpatialDomain>
+ </ns2:Domain>
+ <ns2:Range>
+ <ns2:Field>
+ <ns2:Identifier>red</ns2:Identifier>
+ <ns2:Definition>
+ <ns3:DataType>unsigned int</ns3:DataType>
+ </ns2:Definition>
+ <ns3:InterpolationMethods>
+ <ns3:DefaultMethod nullResistance="none">unsigned short</ns3:DefaultMethod>
+ </ns3:InterpolationMethods>
+ </ns2:Field>
+ <ns2:Field>
+ <ns2:Identifier>green</ns2:Identifier>
+ <ns2:Definition>
+ <ns3:DataType>unsigned int</ns3:DataType>
+ </ns2:Definition>
+ <ns3:InterpolationMethods>
+ <ns3:DefaultMethod nullResistance="none">unsigned short</ns3:DefaultMethod>
+ </ns3:InterpolationMethods>
+ </ns2:Field>
+ <ns2:Field>
+ <ns2:Identifier>blue</ns2:Identifier>
+ <ns2:Definition>
+ <ns3:DataType>unsigned int</ns3:DataType>
+ </ns2:Definition>
+ <ns3:InterpolationMethods>
+ <ns3:DefaultMethod nullResistance="none">unsigned short</ns3:DefaultMethod>
+ </ns3:InterpolationMethods>
+ </ns2:Field>
+ </ns2:Range>
+ <ns2:SupportedCRS></ns2:SupportedCRS>
+ <ns2:SupportedFormat>text/xml</ns2:SupportedFormat>
+ </ns2:CoverageDescription>
+</ns2:CoverageDescriptions>
diff --git a/petascope/test/testcases-wcs/output/ProcessCoverage1.xml b/petascope/test/testcases-wcs/output/ProcessCoverage1.xml
new file mode 100644
index 0000000..a2c0d9f
--- /dev/null
+++ b/petascope/test/testcases-wcs/output/ProcessCoverage1.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<processCoverage xmlns="http://www.opengis.net/wcps/1.0.0" version="1.0.0" service="WCPS">
+ <coverageIterator>
+ <iteratorVar>var</iteratorVar>
+ <coverageName>NIR</coverageName>
+ </coverageIterator>
+ <encode store="false">
+ <format>jpg</format>
+ <trim>
+ <trimAxisSpec>
+ <axis>x</axis>
+ <domainCoord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int">0</domainCoord>
+ <domainCoord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int">450</domainCoord>
+ </trimAxisSpec>
+ <trim>
+ <trimAxisSpec>
+ <axis>y</axis>
+ <domainCoord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int">0</domainCoord>
+ <domainCoord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int">300</domainCoord>
+ </trimAxisSpec>
+ <coverage>var</coverage>
+ </trim>
+ </trim>
+ </encode>
+</processCoverage>
diff --git a/petascope/test/testcases-wcs/output/ProcessCoverage2.xml b/petascope/test/testcases-wcs/output/ProcessCoverage2.xml
new file mode 100644
index 0000000..c8b95bf
--- /dev/null
+++ b/petascope/test/testcases-wcs/output/ProcessCoverage2.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<processCoverage xmlns="http://www.opengis.net/wcps/1.0.0" version="1.0.0" service="WCPS">
+ <coverageIterator>
+ <iteratorVar>var</iteratorVar>
+ <coverageName>TBD</coverageName>
+ </coverageIterator>
+ <encode store="false">
+ <format>image/gif</format>
+ <trim>
+ <trimAxisSpec>
+ <axis>x</axis>
+ <domainCoord>9999.0</domainCoord>
+ <domainCoord>23.0</domainCoord>
+ </trimAxisSpec>
+ <trim>
+ <trimAxisSpec>
+ <axis>y</axis>
+ <domainCoord>56.0</domainCoord>
+ <domainCoord>9999.0</domainCoord>
+ </trimAxisSpec>
+ <setInterpolationDefault>
+ <field>TBDField</field>
+ <interpolationMethod>nearest neighbor</interpolationMethod>
+ <nullResistance>full</nullResistance>
+ <combine>
+ <component>
+ <field>TBDField</field>
+ <coverage>var</coverage>
+ </component>
+ </combine>
+ </setInterpolationDefault>
+ </trim>
+ </trim>
+ </encode>
+</processCoverage>
diff --git a/petascope/test/testcases-wcs/output/ProcessCoverage3.xml b/petascope/test/testcases-wcs/output/ProcessCoverage3.xml
new file mode 100644
index 0000000..18530c3
--- /dev/null
+++ b/petascope/test/testcases-wcs/output/ProcessCoverage3.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<processCoverage xmlns="http://www.opengis.net/wcps/1.0.0" version="1.0.0" service="WCPS">
+ <coverageIterator>
+ <iteratorVar>var</iteratorVar>
+ <coverageName>rgb</coverageName>
+ </coverageIterator>
+ <encode store="true">
+ <format>image/GeoTIFF</format>
+ <trim>
+ <trimAxisSpec>
+ <axis>x</axis>
+ <domainCoord>0.0</domainCoord>
+ <domainCoord>300.0</domainCoord>
+ </trimAxisSpec>
+ <trim>
+ <trimAxisSpec>
+ <axis>y</axis>
+ <domainCoord>0.0</domainCoord>
+ <domainCoord>300.0</domainCoord>
+ </trimAxisSpec>
+ <crsTransform>
+ <crsTransformAxisSpec>
+ <axis>x</axis>
+ <crs>urn:ogc:def:crs:EPSG::26910</crs>
+ </crsTransformAxisSpec>
+ <crsTransformAxisSpec>
+ <axis>y</axis>
+ <crs>urn:ogc:def:crs:EPSG::26910</crs>
+ </crsTransformAxisSpec>
+ <crsTransformFieldSpec/>
+ <setInterpolationDefault>
+ <field>Wavelength</field>
+ <interpolationMethod>nearest neighbor</interpolationMethod>
+ <nullResistance>none</nullResistance>
+ <combine>
+ <component>
+<field>Wavelength</field>
+<coverage>var</coverage>
+ </component>
+ </combine>
+ </setInterpolationDefault>
+ </crsTransform>
+ </trim>
+ </trim>
+ </encode>
+</processCoverage>
diff --git a/petascope/test/testcases-wcs/output/ProcessCoverage4.xml b/petascope/test/testcases-wcs/output/ProcessCoverage4.xml
new file mode 100644
index 0000000..5ea9826
--- /dev/null
+++ b/petascope/test/testcases-wcs/output/ProcessCoverage4.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<ExceptionReport xmlns="http://www.opengis.net/ows" xmlns:ns2="http://www.w3.org/1999/xlink" language="en" version="1.0.0">
+ <Exception locator="Currently, the Output-&gt;GridCRS node is not supported !" exceptionCode="NoApplicableCode"/>
+</ExceptionReport>
diff --git a/petascope/test/testcases-wcs/working/DescribeCoverage.1.xml b/petascope/test/testcases-wcs/working/DescribeCoverage.1.xml
new file mode 100644
index 0000000..3ed2735
--- /dev/null
+++ b/petascope/test/testcases-wcs/working/DescribeCoverage.1.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<DescribeCoverage xmlns="http://www.opengis.net/wcs/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsDescribeCoverage.xsd" service="WCS" version="1.1.2">
+ <!-- <Identifier>mr</Identifier> -->
+ <Identifier>rgb</Identifier>
+ <Identifier>mr</Identifier>
+ <Identifier>mowglie</Identifier>
+</DescribeCoverage> \ No newline at end of file
diff --git a/petascope/test/testcases-wcs/working/GetCapabilities.xml b/petascope/test/testcases-wcs/working/GetCapabilities.xml
new file mode 100644
index 0000000..0cfae50
--- /dev/null
+++ b/petascope/test/testcases-wcs/working/GetCapabilities.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<GetCapabilities xmlns="http://www.opengis.net/wcs/1.1"
+ xmlns:owcs="http://www.opengis.net/wcs/1.1/ows"
+ service="WCS">
+ <owcs:AcceptVersions>
+ <owcs:Version>1.0.0</owcs:Version>
+ <owcs:Version>0.8.3</owcs:Version>
+ </owcs:AcceptVersions>
+ <owcs:Sections>
+ <owcs:Section>Contents</owcs:Section>
+ </owcs:Sections>
+ <owcs:AcceptFormats>
+ <owcs:OutputFormat>text/xml</owcs:OutputFormat>
+ </owcs:AcceptFormats>
+</GetCapabilities>
diff --git a/petascope/test/testcases-wcs/working/GetCoverage.1.xml b/petascope/test/testcases-wcs/working/GetCoverage.1.xml
new file mode 100644
index 0000000..7326767
--- /dev/null
+++ b/petascope/test/testcases-wcs/working/GetCoverage.1.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<GetCoverage xmlns="http://www.opengis.net/wcs/1.1" xmlns:ows="http://www.opengis.net/ows" xmlns:owcs="http://www.opengis.net/wcs/1.1/ows" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsGetCoverage.xsd http://www.opengis.net/gml ../../../gml/3.1.1/base/gml.xsd" service="WCS" version="1.1.0">
+ <owcs:Identifier>NIR</owcs:Identifier>
+ <DomainSubset>
+ <ows:BoundingBox>
+ <ows:LowerCorner>0 0</ows:LowerCorner>
+ <ows:UpperCorner>450 450</ows:UpperCorner>
+ </ows:BoundingBox>
+ </DomainSubset>
+ <Output format="image/jpeg" />
+</GetCoverage> \ No newline at end of file