source: TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/model/service_identification.py @ 3778

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/model/service_identification.py@3778
Revision 3778, 1.3 KB checked in by spascoe, 12 years ago (diff)

Added station WMS support so far. GetFeatureInfo? implemented. A change
to wms_controller.py to support multiple layers.

!TODO: conflict with previous wms_controller.py needs remerging.

Line 
1# Copyright (C) 2007 STFC & NERC (Science and Technology Facilities Council).
2# This software may be distributed under the terms of the
3# Q Public License, version 1.0 or later.
4# http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt
5"""
6Classes modelling the OWS Service Identification package v1.1.0.
7
8@author: Stephen Pascoe
9"""
10
11from ows_common.model.data_identification import Description
12
13class ServiceIdentification(Description):
14    """
15    @ivar serviceType
16    @type serviceType: ows.iso19115_subset.Code
17    @ivar serviceTypeVersions: The supported service versions
18    @type serviceTypeVersions: iterable of str
19    @ivar profiles
20    @type profiles: iterable of str
21    @ivar fees: defaults to 'none'
22    @type fees: str
23    @ivar accessConstraints: defaults to 'none'
24    @type accessConstraints: str
25
26    """
27    def __init__(self, serviceType, serviceTypeVersions=[],
28                 profiles=[], fees="none", accessConstraints="none", **kwargs):
29        """
30        All parameters set default attributes of the instance.
31
32        """
33        super(self.__class__, self).__init__(**kwargs)
34        self.serviceType = serviceType
35        self.serviceTypeVersions = serviceTypeVersions
36        self.profiles = profiles
37        self.fees = fees
38        self.accessConstraints = accessConstraints
39
Note: See TracBrowser for help on using the repository browser.