|
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 | |
|---|
| 3 | This directory contains a sample python script implementing the Mapnik API. |
|---|
| 4 | |
|---|
| 5 | The script is thoroughly commented and also acts as a mini tutorial. Reading |
|---|
| 6 | it should get you on your way, and you can use it as a base for your work. |
|---|
| 7 | |
|---|
| 8 | You must compile and install mapnik and the python bindings FIRST. |
|---|
| 9 | |
|---|
| 10 | Once this is done, run it: |
|---|
| 11 | |
|---|
| 12 | /path/to/python rundemo.py |
|---|
| 13 | |
|---|
| 14 | If all goes well, it should render 2 map images: |
|---|
| 15 | |
|---|
| 16 | demo.jpg |
|---|
| 17 | demo.png |
|---|
| 18 | |
|---|
| 19 | Have a look! |
|---|
| 20 | |
|---|
| 21 | Cheers, |
|---|
| 22 | J.F. |
|---|