Difference between revisions of "Benchmarking 2011/Mapnik notes"

From OSGeo
Jump to navigation Jump to search
m (Created page with "= Mapnik Notes = ''(for the Benchmarking 2011 exercise)'' == Improvements == TBA. == Installation == Installation from last year is being used. Basically the install ...")
 
m
Line 6: Line 6:
  
 
TBA.
 
TBA.
 +
 +
== Stylesheet Setup  ==
 +
 +
Going to be testing both a style [https://github.com/springmeyer/mapserver2mapnik auto-converted] from 'osm-google.map' (from mapserver) and one created in [https://github.com/mapbox/foss4g-benchmark-style TileMill].
 +
 +
 +
== Configuration ==
 +
Nothing special yet - just stock mapnik.
  
 
== Installation  ==
 
== Installation  ==

Revision as of 07:54, 10 August 2011

Mapnik Notes

(for the Benchmarking 2011 exercise)

Improvements

TBA.

Stylesheet Setup

Going to be testing both a style auto-converted from 'osm-google.map' (from mapserver) and one created in TileMill.


Configuration

Nothing special yet - just stock mapnik.

Installation

Installation from last year is being used. Basically the install is sandboxed into /opt/mapnik to avoid conflicts with other applications. Details can be seen at: http://svn.osgeo.org/osgeo/foss4g/benchmarking/mapnik/scripts/install_mapnik_rhel_5.5.sh

Library versions used:

* libxml2-2.7.7
* zlib-1.2.5
* libpng-1.4.3
* freetype-2.4.1
* proj-4.7.0
* icu4c-4_4_1
* boost_1_43_0
* httpd-2.2.16 (only used for mod_mapnik_wms)
* gdal-1.7.2 (used only for raster plugin)
* postgis from RHEL packages - 8.1 headers
* libjpeg from RHEL packages - old

Mapnik versions tested/used:

WMS Servers planning on being tested:

Indexing shapefiles

I simply used the default depth of 8 (which is what is used if no options are specified) to the mapnik `shapeindex` tool.

   sudo chmod -R g+w /benchmarking/wms/2011/data/vector/osm_base_data/data/
   rm /benchmarking/wms/2011/data/vector/osm_base_data/data/*index
   shapeindex /benchmarking/wms/2011/data/vector/osm_base_data/data/*shp