wcs111.py 888 Bytes
Newer Older
xuebingbing's avatar
xuebingbing committed
1 2 3 4
# -*- coding: ISO-8859-15 -*-
# =============================================================================
# Copyright (c) 2015 Luís de Sousa
#
xuebingbing's avatar
xuebingbing committed
5
# Authors :
xuebingbing's avatar
xuebingbing committed
6 7 8 9 10 11 12
#          Luís de Sousa <luis.a.de.sousa@gmail.com>
#
# Contact email: luis.a.de.sousa@gmail.com
# =============================================================================

from owslib.coverage import wcs110

xuebingbing's avatar
xuebingbing committed
13

xuebingbing's avatar
xuebingbing committed
14 15 16
class Namespaces_1_1_1():

    def WCS(self, tag):
xuebingbing's avatar
xuebingbing committed
17
        return '{http://www.opengis.net/wcs/1.1.1}' + tag
xuebingbing's avatar
xuebingbing committed
18 19

    def WCS_OWS(self, tag):
xuebingbing's avatar
xuebingbing committed
20
        return '{http://www.opengis.net/wcs/1.1.1/ows}' + tag
xuebingbing's avatar
xuebingbing committed
21 22

    def OWS(self, tag):
xuebingbing's avatar
xuebingbing committed
23
        return '{http://www.opengis.net/ows/1.1}' + tag
xuebingbing's avatar
xuebingbing committed
24 25 26 27 28 29


class WebCoverageService_1_1_1(wcs110.WebCoverageService_1_1_0):
    """Abstraction for OGC Web Coverage Service (WCS), version 1.1.1
    Implements IWebCoverageService.
    """
xuebingbing's avatar
xuebingbing committed
30
    version = '1.1.1'
xuebingbing's avatar
xuebingbing committed
31
    ns = Namespaces_1_1_1()