mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
remove last traces of ogcserver
This commit is contained in:
parent
ccca5afa89
commit
a1eb094e41
@ -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'])
|
||||
|
||||
|
||||
@ -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=
|
||||
@ -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()
|
||||
Loading…
x
Reference in New Issue
Block a user