Table of Contents
Mapnik Dependencies
Mapnik requires the Boost libraries, International Components for Unicode (ICU), Freetype, Proj4, and a variety of image libraries.
Installing Boost is often new to mapnik users, but the majority of remaining dependencies are more familiar.
If you have previously built or installed other open source graphics or mapping applications it is likely that many of the remaining dependencies are already installed.
Notes on installing Mapnik dependencies are included within each [MapnikInstallation platform specific instructions].
Learn More
-
Input Format Plugins
-
PostGIS/PostgreSQL - to read data using the Mapnik PostGIS plugin.
-
PostgreSQL: Relational database system
-
PostGIS: Spatial extension to PostgreSQL
-
GDAL - to read raster data using the Mapnik GDAL plugin
-
GDAL: Geospatial Data Abstraction Library
-
GDAL Formats: Raster Formats supported by GDAL
-
Libraries for Imaging
-
libcairo - Multi-platform 2D graphics library
-
libcairomm - C++ wrapper for Cairo graphics
-
tinyxml, spirit, or libxml2 - for XML parsing extensions, see: ManagingLargeXmlFiles
-
Mapnik WMS (Web Map Service) dependencies - WMS on wikipedia
-
jonpy.fcgi - Jon's FastCGI Python module
-
libxslt - XSLT(Extensible Stylesheet Language Transformations) C library
-
libxml2 - XML C parser
-
lxml - Python bindings for the libxml2 and libxslt libraries
-
Proj.4 - see above
-
Apache webserver: Comes pre-installed on Mac OS X
- Apache2 config is in: /etc/apache2/
- Apache2 web root is: /Library/WebServer
- Apache2 cgi-bin is: /Library/WebServer/CGI-Executables
- Apache2 logs are in: /var/log/apache2/
-
WSGI handler also possible, but undocumented