Ignore:
Timestamp:
21/04/08 12:11:53 (12 years ago)
Author:
spascoe
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/pylons/templates/wms_capabilities_1_3_0.xml

    r3696 r3806  
    138138 
    139139  </Service> 
    140    
    141140  <!--! These fields are represented in ows_common as service constraints --> 
    142141  <Capability py:with="sm=c.capabilities; om=sm.operationsMetadata"> 
    143142    <py:if test="om is not None"> 
    144       <?python ops = ['GetCapabilities', 'GetMap', 'GetFeatureInfo'] ?> 
     143      <?python 
     144        ops = ['GetCapabilities', 'GetMap', 'GetFeatureInfo'] 
     145        eops = [x for x in om.operationDict.keys() if x not in ops] 
     146      ?> 
    145147      <Request> 
    146148        <py:for each="opName in ops" py:if="opName in om.operationDict.keys()"> 
     
    155157        </py:for> 
    156158      </Request> 
     159      <_ExtendedCapabilities> 
     160      <Request> 
     161        <py:for each="opName in eops"> 
     162          <span py:content="markupOperation(opName, om.operationDict[opName])" py:strip="True"/> 
     163        </py:for> 
     164        <py:for each="opName in eops"> 
     165          <?python exceptions = om.operationDict[opName].parameters.get('ExceptionFormat') ?> 
     166          <Exception py:if="exceptions is not None"> 
     167            <Format py:for="e in exceptions.possibleValues.allowedValues" 
     168                    py:content="e"/> 
     169          </Exception> 
     170        </py:for> 
     171      </Request> 
     172      </_ExtendedCapabilities> 
    157173    </py:if> 
    158174     
Note: See TracChangeset for help on using the changeset viewer.