source: TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/wcs1_0_0_DescribeCoverageResponse.kid @ 2963

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/wcs1_0_0_DescribeCoverageResponse.kid@2963
Revision 2963, 2.3 KB checked in by domlowe, 12 years ago (diff)

changes to validate describe coverage response

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<CoverageDescription xmlns:py="http://purl.org/kid/ns#" xmlns="http://www.opengis.net/wcs"
3    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs http://schemas.opengis.net/wcs/1.0.0/describeCoverage.xsd"
4    xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink"
5    version="1.0.0">
6       <CoverageOffering py:for="cd in c.covDescs">
7        <description py:if="cd.abstracts is not None" py:content="cd.abstracts"/>           
8        <name py:content="cd.identifier"/>       
9        <label py:if="cd.titles is not None" py:content="cd.titles"/>       
10        <Keywords py:if = "cd.keywords is not None" >
11            <Keyword py:for="key in cd.keywords" py:content="key" />       
12        </Keywords>
13        <lonLatEnvelope py:for="bb in cd.boundingBoxes">
14                    <gml:pos>${bb.lowerCorner[0]}  ${bb.lowerCorner[1]}</gml:pos>
15                    <gml:pos>${bb.upperCorner[0]}  ${bb.upperCorner[1]}</gml:pos>
16        </lonLatEnvelope>
17        <domainSet>
18            <spatialDomain>
19                <!--! TO DO - nD crs -->
20                <gml:Envelope py:for="bb in cd.boundingBoxes" srsName="${bb.crs}">
21                    <gml:pos>${bb.lowerCorner[0]}  ${bb.lowerCorner[1]}</gml:pos>
22                    <gml:pos>${bb.upperCorner[0]}  ${bb.upperCorner[1]}</gml:pos>
23                </gml:Envelope>
24            </spatialDomain>
25            <temporalDomain>
26                <timePeriod>
27                    <beginPosition>${cd.timeLimits[0]}</beginPosition>
28                    <endPosition>${cd.timeLimits[1]}</endPosition>
29                </timePeriod>
30            </temporalDomain>
31        </domainSet>
32        <rangeSet>
33            <RangeSet>
34                <name>rangeset name</name>
35                <label>rangeset label</label>               
36            </RangeSet>
37        </rangeSet>
38        <supportedCRSs>
39             <requestCRSs></requestCRSs>
40            <responseCRSs></responseCRSs>
41        </supportedCRSs>
42        <supportedFormats>
43            <formats>cf-netcdf</formats>
44        </supportedFormats>
45        <supportedInterpolations>
46            <interpolationMethod>none</interpolationMethod>
47        </supportedInterpolations>
48    </CoverageOffering>
49</CoverageDescription>
Note: See TracBrowser for help on using the repository browser.