Hi!

I am guessing I am doing something really stupid :-)

I have installed mapnik2 through Tilemill on Ubuntu. I start a python
shell and run the following commands in the shell(no file called
mapnik.py as others having the same problem):

import mapnik2 as mapnik
mapfile = 'kart.xml'
map_output = 'hello_world_using_xml_config.png'
m = mapnik.Map(600, 300)

and then I end up with this:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Map'


Can anybody pinpoint to me what I am doing wrong here?

Espen
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to