mapnik/demo/c++
2007-08-29 15:23:39 +00:00
..
readme.txt added readme.txt with build instructions 2006-05-08 20:34:30 +00:00
rundemo.cpp added encoding='latin1' parameter to display text correctly 2007-08-29 15:23:39 +00:00

This directory contains a simple c++ program demonstrating Mapnik API. It mimics python example with couple exceptions.

To build (using GCC/G++ toolkit):

g++ -O3 -I/usr/local/include/mapnik -I/opt/boost/include/boost-1_33_1 -I/usr/include/freetype2  -L/usr/local/lib -lmapnik rundemo.cpp -o rundemo


To run:

./rundemo

For more detailed comments have a look in demo/python/rundemo.py

Have fun!
Artem.