Tutorial 2: World Maps in XML

http://trac.mapnik.org/wiki/XMLGettingStarted

Comments

Nickb November 7, 2006 at 7:34 p.m.

I'm getting quite few errors trying to run this example code. Fisrt it seems that the method names for style() and rule() need to be capitalised like - Style() and Rule().

After fixing that, I'm getting this error:

File "co2-tut2.py", line 6, in ?
r.filter=filter("[Y_2000] >= 16" )
TypeError: filter expected 2 arguments, got 1

newbie April 15, 2008 at 2:32 a.m.

after i generate map tiles, i joint them together to form a big map, the background and the roads joint well at the edge but the text symbol has some problems to joint, is there any options or methods to make sure the text label joint correctly on the map? by the way, i use one layer for roads and another layer for text label.

Post a comment