root/trunk/demo/python/README.txt

Revision 189, 459 bytes (checked in by jdoyon, 3 years ago)

- Remove the python interpreter from the script, have the user supply it instead
- Add a little README.txt

  • Property svn:keywords set to Id
Line 
1# $Id$
2
3This directory contains a sample python script implementing the Mapnik API.
4
5The script is thoroughly commented and also acts as a mini tutorial.  Reading
6it should get you on your way, and you can use it as a base for your work.
7
8You must compile and install mapnik and the python bindings FIRST.
9
10Once this is done, run it:
11
12/path/to/python rundemo.py
13
14If all goes well, it should render 2 map images:
15
16demo.jpg
17demo.png
18
19Have a look!
20
21Cheers,
22J.F.
Note: See TracBrowser for help on using the browser.