OSGeoLive-Notebooks/mapnik-py
darkblueb e4f8d7fada rm a few broken ipynb; typos fixed; no major change 2021-05-11 22:07:16 +00:00
..
data all notebooks from rc4, exactly 2021-05-11 19:38:26 +00:00
README.txt all notebooks from rc4, exactly 2021-05-11 19:38:26 +00:00
mapnik_draw_example.ipynb rm a few broken ipynb; typos fixed; no major change 2021-05-11 22:07:16 +00:00
rundemo.py all notebooks from rc4, exactly 2021-05-11 19:38:26 +00:00

README.txt

This directory contains a sample python script implementing the Mapnik API.

The script is thoroughly commented and also acts as a mini tutorial.  Reading
it should get you on your way, and you can use it as a base for your work.

You must compile and install mapnik and the python bindings FIRST.

Once this is done, run it:

/path/to/python rundemo.py

If all goes well, it should render 2 map images:

demo.jpg
demo.png

Have a look!

Cheers,
J.F.