Information originally from Zordius at http://mapnik.org/news/2008/feb/05/mapnik_win32_r638/

FIXME: Needs some cleanup

Prerequisites

Instructions

  1. download the mapnik binary
  2. unzip it, it should be in C:\mapnik-0_5_0\
  3. copy C:\mapnik-0_5_0\site-packages\mapnik\ as C:\Python25\Lib\site-packages\mapnik\ . or, when you "from mapnik import *" you will get into trouble.
  4. set your system environment veriables, add "c:\mapnik-0_5_0\lib" in PATH.
  5. open a new console by run "cmd". type "path" to make sure your PATH contains c:\mapnik-0_5_0\lib
  6. run "C:\Python25\python.exe" . type "from mapnik import *" at python prompt. If you get no error message, you made it! mapnik lib is ready for you.
  7. open explorer, go c:\mapnik-0_5_0\demo\python, double click rundemo.py
  8. you should see demo.* 3 image files...or, you will get a warning message shows lack of boost_somethingelse.dll ....you should install boost c++ library.

Boost

Prerequisites

Instructions

  1. you will need check "Multithread, DLL" option in installer, then check "Boost IOStreams"
  2. after install done, you will need to add "C:\Program Files\boost\boost_1_34_1\lib" in your path. you should reopen a new console to check the new path setting is correct or not.
  3. now you may run the demo by open explorer, go c:\mapnik-0_5_0\demo\python, double click rundemo.py