Ticket #101 (new enhancement)

Opened 6 months ago

Last modified 6 weeks ago

Experimental mod_python server for Mapnik

Reported by: tmcw Owned by: jfdoyon
Priority: normal Milestone:
Component: OGC Server (WMS) Version:
Severity: Enhancement Keywords:
Cc: macwright@… Patch Needs Improvement: no
Needs Docmentation: no Has Patch?: no
Design Decision Needed: no

Description

Hi,

I've been working on a mod_python compatible server wrapper for Mapnik: what we've been using in-house is using a PHP script to essentially proxy shelled-out Mapnik output, and we really want to switch to a standard platform with a WMS frontend.

This is a working implementation of a mod_python wrapper, based off of the CGI server code. The readme explains how to set it up locally, and there's a sample of a Apache configuration for this.

Attachments

mapnik_parts.tgz (59.6 kB) - added by tmcw 6 months ago.
Parts for a Mapnik mod_python server

Change History

Changed 6 months ago by tmcw

Parts for a Mapnik mod_python server

Changed 4 months ago by springmeyer

  • priority set to normal
  • severity changed from Normal to Enhancement

What kind of performance gains are you seeing using this server over the fcgi approach?

Changed 3 months ago by tmcw

  • cc macwright@… added
  • has_patch unset
  • patch_need_improvement unset
  • need_documentation unset
  • design_decision_needed unset

I actually haven't thoroughly tested this module vs. fcgi. The main benefit of this driver is the fact that Mapnik could fit nicely into the rest of the mapping software I (and, I'm sure, others) are using - TileCache?, FeatureServer?, Django, etc., have mod_python as either a provided or a preferred Python environment.

Changed 7 weeks ago by springmeyer

Hey tmcw, maybe a wiki page explaining the use and possible improvements of this code would be more appropriate than a ticket?

But, if you are proposing that this code be added to enable mod_python support for the OGCServer, providing a patch(diff file) here would be most helpful.

thx!

Changed 6 weeks ago by tom

Hey, I've made a wiki page: ModServer , and I'll have a patch-version done soon.

Changed 6 weeks ago by springmeyer

Great!

Note: See TracTickets for help on using tickets.