source: cows/trunk/cows/pylons/templates/wcs_describecoverage_1_0_0.xml @ 4769

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/trunk/cows/pylons/templates/wcs_describecoverage_1_0_0.xml@4769
Revision 4769, 2.4 KB checked in by domlowe, 12 years ago (diff)

adding gml:timepositions to describe coverage response

Line 
1<?xml version="1.0"?>
2<!DOCTYPE WMT_MS_Capabilities SYSTEM
3 "http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd">
4
5<?python
6
7from cows.pylons.genshi_util import RenameElementFilter
8from genshi import QName
9import webhelpers as h
10
11?>
12
13<CoverageDescription xmlns:py="http://genshi.edgewall.org/" xmlns:gml="http://www.opengis.net/gml" xmlns:ows="http://www.opengis.net/ows" version="1.0.0">
14        <CoverageOffering py:for="cd in c.descriptions">       
15                <description py:if="cd.abstracts is not None" py:content="cd.abstracts"/>           
16        <name py:content="cd.identifier"/>       
17        <label py:if="cd.titles is not None" py:content="cd.titles"/>       
18        <Keywords py:if = "cd.keywords is not None" >
19            <Keyword py:for="key in cd.keywords" py:content="key" />       
20        </Keywords>
21        <lonLatEnvelope py:for="bb in cd.boundingBoxes">
22                    <gml:pos>${bb.lowerCorner[0]}  ${bb.lowerCorner[1]}</gml:pos>
23                    <gml:pos>${bb.upperCorner[0]}  ${bb.upperCorner[1]}</gml:pos>
24        </lonLatEnvelope>
25        <domainSet>
26            <spatialDomain>
27                <!--! TO DO - nD crs -->
28                <gml:Envelope py:for="bb in cd.boundingBoxes" srsName="${bb.crs}">
29                    <gml:pos>${bb.lowerCorner[0]}  ${bb.lowerCorner[1]}</gml:pos>
30                    <gml:pos>${bb.upperCorner[0]}  ${bb.upperCorner[1]}</gml:pos>
31                </gml:Envelope>
32            </spatialDomain>
33            <temporalDomain>
34                                <gml:timePosition py:for="timepos in cd.timePositions" py:content="timepos"/>
35                <timePeriod>
36                    <beginPosition>${cd.timeLimits[0]}</beginPosition>
37                    <endPosition>${cd.timeLimits[1]}</endPosition>
38                </timePeriod>
39            </temporalDomain>
40        </domainSet>
41        <rangeSet>
42            <RangeSet>
43                <name>rangeset name</name>
44                <label>rangeset label</label>               
45            </RangeSet>
46        </rangeSet>
47        <supportedCRSs>
48             <requestCRSs>${cd.crs}</requestCRSs>
49            <responseCRSs>${cd.crs}</responseCRSs>
50        </supportedCRSs>
51        <supportedFormats>
52            <formats>cf-netcdf</formats>
53        </supportedFormats>
54        <supportedInterpolations>
55            <interpolationMethod>none</interpolationMethod>
56        </supportedInterpolations>
57    </CoverageOffering>         
58</CoverageDescription>
Note: See TracBrowser for help on using the repository browser.