From a1eb094e41d3d0c07d20209bdee6cd3e7d9a77a6 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 23 Nov 2011 20:30:53 -0800 Subject: [PATCH] remove last traces of ogcserver --- bindings/python/build.py | 9 +--- utils/ogcserver/ogcserver.conf | 81 ---------------------------------- utils/ogcserver/wms.py | 29 ------------ 3 files changed, 1 insertion(+), 118 deletions(-) delete mode 100644 utils/ogcserver/ogcserver.conf delete mode 100644 utils/ogcserver/wms.py diff --git a/bindings/python/build.py b/bindings/python/build.py index caa1dfcca..5e0b1faad 100644 --- a/bindings/python/build.py +++ b/bindings/python/build.py @@ -167,18 +167,11 @@ if 'install' in COMMAND_LINE_TARGETS: Copy("$TARGET","$SOURCE"), Chmod("$TARGET", 0644), ]) + -# install the ogcserver module code -if 'install' in COMMAND_LINE_TARGETS: - ogcserver_files = glob.glob('mapnik/ogcserver/*.py') - ogcserver_module = env.Install(target_path + '/ogcserver', ogcserver_files) - env.Alias(target='install', source=ogcserver_module) - - # install the shared object beside the module directory sources = glob.glob('*.cpp') - py_env = env.Clone() py_env.Append(CPPPATH = env['PYTHON_INCLUDES']) diff --git a/utils/ogcserver/ogcserver.conf b/utils/ogcserver/ogcserver.conf deleted file mode 100644 index 0bd348f23..000000000 --- a/utils/ogcserver/ogcserver.conf +++ /dev/null @@ -1,81 +0,0 @@ -# $Id$ - -# server: This section contains software related configuration parameters. - -[server] - -# module: The module containing the MapFactory class. See the readme for -# details. -# This would be the name of the map_factory file (without extension .py) - -module=CHANGEME - -# service: This section contains service level metadata. - -[service] - -# title: The title of the server. - -title=Mapnik OGC Server - -# abstract: An abstract describing the server. - -abstract=This abstract describes the server and its contents. - -# maxwidth, maxheight: The maximum size that a map will be supplied at. -# Exceeding it will raise an error in the client. - -maxheight=1024 -maxwidth=1024 - -# allowedepsgcodes: The comma seperated list of epsg codes we want the server -# to support and advertise as supported in GetCapabilities. - -allowedepsgcodes=4326 - -# onlineresource: A service level URL most likely pointing to the web site -# supporting the service for example. This is NOT the online -# resource pointing to the CGI. - -onlineresource=http://www.mapnik.org/ - -# fees: An explanation of the fee structure for the usage of your service, -# if any. Use the reserved keyword "none" if not applicable. - -fees= - -# keywords: A comma seperated list of key words. - -keywordlist= - -# accessconstraints: Plain language description of any constraints that might -# apply to the usage of your service, such as hours of -# operation. - -accessconstraints= - -# maxage: The content of the HTTP Cache-Control header - -# the maximum age of the content in a cache, measured -# in seconds. One week is 604800 seconds, the default is -# 1 day. - -maxage=86400 - -# contact: Contact information. Provides information to service users on who -# to contact for help on or details about the service. - -[contact] - -contactperson= -contactorganization= -contactposition= - -addresstype= -address= -city= -stateorprovince= -postcode= -country= - -contactvoicetelephone= -contactelectronicmailaddress= diff --git a/utils/ogcserver/wms.py b/utils/ogcserver/wms.py deleted file mode 100644 index ea9b952ed..000000000 --- a/utils/ogcserver/wms.py +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python -# -# 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 mapnik.ogcserver.cgiserver import Handler -from jon import fcgi - -class OGCServerHandler(Handler): - configpath = '/path/to/ogcserver.conf' - -fcgi.Server({fcgi.FCGI_RESPONDER: OGCServerHandler}).run()