Changeset 2924


Ignore:
Timestamp:
05/10/07 09:13:39 (12 years ago)
Author:
domlowe
Message:

interim commit before renaming

Location:
TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wcs1_0.py

    r2917 r2924  
    203203    @parameter('Service', possibleValues=['WCS'], required=True) 
    204204    @parameter('Version', possibleValues=['1.0.0']) 
    205     @parameter('Identifiers', required=True) 
     205    @parameter('Coverage', required=True) 
    206206    @parameter('Format', possibleValues=['text/xml'], required=True)  #IS THIS MANDATORY 
    207     def DescribeCoverage(self, uri, version, service, identifiers, format='text/xml'): 
     207    def DescribeCoverage(self, uri, version, service, coverage, format='text/xml'): 
    208208        """ 
    209209        WCS DescribeCoverage operation 
    210210        """ 
     211        identifiers=coverage  
    211212        try: 
    212213            self.features={} #dictionary to hold requested coverages 
     
    216217                feature = c.dataset.getFeature(ident) 
    217218                if feature is None: 
    218                     raise OWS_E.InvalidParameterValue('Coverage  with id=%s not found'%ident, 'identifiers') 
     219                    raise OWS_E.InvalidParameterValue('Coverage  with name=%s not found'%ident, 'identifiers') 
    219220                self.features[ident]=feature 
    220221            c.covDescs=self._buildCoverageDescriptions() 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wcsx.py

    r2923 r2924  
    44# http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt 
    55""" 
    6 WCS controller driven by CSML. 
    7  
    8 @author: DominicLowe, Stephen Pascoe 
     6Controller that redirects WCS requests to the controller for the correct version of WCS 
     7@author: Dominic Lowe 
    98""" 
    109 
    1110from ows_server.lib.base import * 
    1211from ows_server.lib.decorators import * 
    13 import ows_server.lib.validators as V 
    14 import logging 
    15 logger = logging.getLogger('ows_server.controllers.csml_wcsx') 
     12#import logging 
     13#logger = logging.getLogger('ows_server.controllers.csml_wcsx') 
    1614 
    1715from paste.request import construct_url 
Note: See TracChangeset for help on using the changeset viewer.