angle changes too much between characters it finds an alternate placement), this is specified in the max_char_angle_delta property in radians (feel free to change it to degrees). It also improves the text placement around corners trying to minimise the distance between the center of the character and the line on each side. This is the major portion of the patch. |
||
---|---|---|
.. | ||
README.txt | ||
rundemo.py |
# $Id$ 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.