Changes between Version 4 and Version 5 of OwsNotes/OwsCommon


Ignore:
Timestamp:
22/05/07 11:22:13 (12 years ago)
Author:
spascoe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OwsNotes/OwsCommon

    v4 v5  
    2828 
    2929WPS uses OWS common 0.3.0.  I haven't looked at this closely but it looks similar to OWS 1.0.0. 
     30 
     31= Mapping OWS common 1.1.0 to WMS 1.3.0 = 
     32 
     33== OperationsMetadata == 
     34 
     35This information will be defined in the ows_server source code using a python decorator.  I imagine something like  
     36{{{ 
     37#!python 
     38 
     39from ows_common.decorators import * 
     40 
     41class WxsController(OwsController): 
     42  @operation('GetCapabilities') 
     43  @parameter(name, value) 
     44  @constraint(name, value) 
     45  def getCapabilities(self, ...): 
     46      .... 
     47}}} 
     48 
     49This formulation matches the OWS common model for OperationsMetadata.  WMS doesn't use parameters and 
     50constraints, however we can define a mapping which is understood by the framework. 
     51 
     52|| '''Parameter Name''' || '''Value''' || 
     53|| "formats" || sequence of supported MIME types for the response || 
     54