Difference between revisions of "Benchmarking 2011/Mapnik notes"
m (Created page with "= Mapnik Notes = ''(for the Benchmarking 2011 exercise)'' == Improvements == TBA. == Installation == Installation from last year is being used. Basically the install ...") |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
''(for the [[Benchmarking 2011]] exercise)'' | ''(for the [[Benchmarking 2011]] exercise)'' | ||
+ | |||
== Improvements == | == Improvements == | ||
− | + | To be listed soon or when they come up. | |
+ | |||
+ | |||
+ | == Stylesheet Setup == | ||
+ | |||
+ | The imposm-based stylesheet from http://code.google.com/p/mapserver-utils/ was proposed by the mapserver team and agreed upon to use, so each team must match it. | ||
+ | |||
+ | Mapnik will be testing both a style [https://github.com/springmeyer/mapserver2mapnik auto-converted] from 'osm-google.map' (from mapserver) and one created to match it in [https://github.com/mapbox/foss4g-benchmark-style TileMill]. | ||
+ | |||
+ | |||
+ | == Configuration == | ||
+ | |||
+ | Nothing special yet - just stock mapnik trunk. | ||
+ | |||
== Installation == | == Installation == | ||
− | + | The installation files from last year will be used and upgraded if needed. Basically the install is sandboxed into /opt/mapnik to avoid conflicts with other applications. Details can be seen in [http://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/2010/mapnik/scripts/install_mapnik_rhel_5.5.sh the 2010 svn folder]. | |
Library versions used: | Library versions used: | ||
Line 32: | Line 46: | ||
WMS Servers planning on being tested: | WMS Servers planning on being tested: | ||
− | *paleoserver - trunk - http://github.com/springmeyer/paleoserver | + | * nodejs - pure javascript server using node-mapnik |
− | *mod_mapnik_wms - trunk - http://wiki.openstreetmap.org/wiki/Mod_mapnik_wms | + | * ogcserver - pure python server - https://github.com/mapnik/OGCServer |
+ | * paleoserver - trunk - http://github.com/springmeyer/paleoserver | ||
+ | * mod_mapnik_wms - trunk - http://wiki.openstreetmap.org/wiki/Mod_mapnik_wms | ||
+ | |||
== Indexing shapefiles == | == Indexing shapefiles == | ||
Line 44: | Line 61: | ||
− | [[Category:FOSS4G2011 | + | [[Category:FOSS4G2011]] |
Latest revision as of 03:15, 24 February 2015
Mapnik Notes
(for the Benchmarking 2011 exercise)
Improvements
To be listed soon or when they come up.
Stylesheet Setup
The imposm-based stylesheet from http://code.google.com/p/mapserver-utils/ was proposed by the mapserver team and agreed upon to use, so each team must match it.
Mapnik will be testing both a style auto-converted from 'osm-google.map' (from mapserver) and one created to match it in TileMill.
Configuration
Nothing special yet - just stock mapnik trunk.
Installation
The installation files from last year will be used and upgraded if needed. Basically the install is sandboxed into /opt/mapnik to avoid conflicts with other applications. Details can be seen in the 2010 svn folder.
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:
- 0.7.2 pre-release - http://trac.mapnik.org/milestone/0.7.2
- Trunk (aka Mapnik2)
WMS Servers planning on being tested:
- nodejs - pure javascript server using node-mapnik
- ogcserver - pure python server - https://github.com/mapnik/OGCServer
- paleoserver - trunk - http://github.com/springmeyer/paleoserver
- mod_mapnik_wms - trunk - http://wiki.openstreetmap.org/wiki/Mod_mapnik_wms
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