removed wms.py - was causing checkupt problems on win32 (WMS.py == wms.py on win32)

This commit is contained in:
Artem Pavlenko 2006-06-07 17:02:56 +00:00
parent 65587c3894
commit 9980d406fc

View file

@ -1,46 +0,0 @@
#
# This file is part of Mapnik (c++ mapping toolkit)
#
# Copyright (C) 2006 Jean-Francois Doyon
#
# Mapnik is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# $Id$
from common import Version
from exceptions import OGCException
from wms111 import ServiceHandler as ServiceHandler111, \
ExceptionHandler as ExceptionHandler111
from wms130 import ServiceHandler as ServiceHandler130, \
ExceptionHandler as ExceptionHandler130
def ServiceHandlerFactory(conf, mapfactory, onlineresource, version):
if not version:
version = Version('1.3.0')
else:
version = Version(version)
if version >= '1.3.0':
return (ServiceHandler130(conf, mapfactory, onlineresource), ExceptionHandler130)
else:
return (ServiceHandler111(conf, mapfactory, onlineresource), ExceptionHandler111)
class BaseWMSFactory:
def registerLayer(self, layer):
pass
def registerStyle(self, name, style):
pass