old school wms for mapnik
Purely a test application at this point to scope various options around concurrent rendering in Mapnik.
Originally written for the FOSS4G 2010 benchmark.
You may also be interested in mod_mapnik_wms which runs within Apache:
The main difference is that paleoserver leverages boost::asio for multithreading rather than Apache and can be run from the command line or as a daemon without depending on another webserver for deployment. The draw back is that this lacks the flexibility for custom setup (urls, auth, etc) that comes easily with Apache.
Dane Springmeyer with any questions.
- Mapnik >= 2.0.x
- Boost >= 1.42
- Scons (for build)
Base server adapted from boost::asio 'server2', io_service per thread design.
URL key-value parsing adapted from boost:spirit2 examples.
sudo easy_install scons
You will also likely need to manually tweak the compile paths and flags in SConstruct. The trick is to get paths to libicuuc, libfreetype, libboost*, and libmapnik in the compile lines
Then from this directory do:
Next edit the config.json to customize to your mapnik setup.
Or just pass all required options on the command line like:
./paleoserver 0.0.0.0 8000 2 . /usr/local/lib/mapnik demo/world_latlon.xml
Can mostly handle WMS 1.1.1 requests from Openlayers like:
Does not attempt to parse SERVICE, VERSION, REQUEST, EXCEPTIONS, OR BGCOLOR
Does not handle values with spaces, even if encoded.
If it hangs, make sure you are loading ABI-compatible datasources.
Only supports GetMap and limited GetMap params - many are currently ignored.