Changeset 2651 for TI05-delivery


Ignore:
Timestamp:
26/06/07 15:21:05 (12 years ago)
Author:
spascoe
Message:

Various classes for implementing WPS. Very incomplete.

Location:
TI05-delivery/ows_framework/trunk
Files:
7 added
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_common/ows_common/data_identification.py

    r2529 r2651  
    2727        self.keywords = keywords 
    2828 
    29 class Identification(Description): 
     29class BasicIdentification(Description): 
    3030    """ 
    31     @note: BasicIdentification is not modelled directly. 
    32  
    3331    @ivar identifier 
    3432    @type identifier: None or Code 
     
    3634    @type metadata: iterable of Metadata 
    3735 
     36    """ 
     37    def __init__(self,  identifier=None, metadata=[], **kwargs): 
     38        super(BasicIdentification, self).__init__(**kwargs) 
     39 
     40        self.identifier = identifier 
     41        self.metadata = metadata 
     42 
     43     
     44class Identification(BasicIdentification): 
     45    """ 
    3846    @ivar outputFormats 
    3947    @type outputFormats: iterable of str 
     
    4553 
    4654    """ 
    47     def __init__(self, identifier=None, metadata=[], outputFormats=[], 
     55    def __init__(self, outputFormats=[], 
    4856                 availableCRSs=[], boundingBoxes=[], **kwargs): 
    4957        super(Identification, self).__init__(**kwargs) 
    5058 
    51         self.identifier = identifier 
    52         self.metadata = metadata 
    5359        self.outputFormats = outputFormats 
    5460        self.availableCRSs = availableCRSs 
Note: See TracChangeset for help on using the changeset viewer.