Welcome to Mapnik!

Quickstart

• Install the "Mapnik.pkg".

• Test your installation via Python:

   Open the Terminal.app and confirm that below command returns 'True':

  $ python -c "import mapnik2; print 'Mapnik.framework' in mapnik2.__file__"

   If it does then Mapnik is installed correctly! You can now head along to http://mapnik.org for documentation.

   If it does not then you may need to add this line to your environment settings:

    export PYTHONPATH=/Library/Frameworks/Mapnik.framework/Python:$PYTHONPATH

Details

This installer only works for Snow Leopard (10.6).

This install should play nicely with any existing installations of Mapnik.

It automatically puts the following lines in your ~/.bash_profile to enable Mapnik:

  export PATH=/Library/Frameworks/Mapnik.framework/Programs:$PATH
  export PYTHONPATH=/Library/Frameworks/Mapnik.framework/Python:$PYTHONPATH

It also enables the Mapnik python bindings for QGIS/Python2.6 by putting a 'mapnik2.pth' file in:

  /Library/Python/2.6/site-packages

This Mapnik installer includes:

 * Mapnik Core (mapnik library)
 * Python bindings compatible with versions:
    - 2.5, 2.6, 2.7, and 3.1
 * Datasources (aka "input plugins"):
    - Shapefile, PostGIS, Raster, GDAL, OGR,
       GEOS, SQLite, Rasterlite, OSM, Kismet 
 * Dependencies: Boost, ICU, Cairo, Freetype2 and other minor libraries
 * GDAL_Complete-1.8.dmg from:
    - http://www.kyngchaos.com/software/frameworks

Uninstalling

To disable this installation remove the lines including '/Library/Frameworks/Mapnik.framework' from your ~/.bash_profile

And remove this file

  /Library/Python/2.6/site-packages/mapnik2.pth

To fully remove the Installation remove this folder:

  /Library/Frameworks/Mapnik.framework

Issues?

Any questions or problems with the installer please get in touch with Dane (dane@dbsgeo.com).