Hey Klaus,
Welcome to Mapnik.
in the 'world_map.py' you created make sure you have the line:
from mapnik import *
at the top.
If you do have that line at the top of your script them post back the
result of doing this in a python interpreter:
>>> from mapnik import Map
>>> m = Map(600,300)
Let me know if that gives you any errors.
Dane
On Mar 31, 2009, at 4:13 PM, [email protected] wrote:
Hi list,
I'm totally new to this list, to mapfish and python as well. But at
least
I managed to compile mapnik on my ubuntu intrepid system.
While configuring, no package seemed missing, so i proceeded.
As I tried out if my installation worked (with the example from
http://trac.mapnik.org/wiki/XMLGettingStarted) the following problem
occured:
$ python world_map.py
Traceback (most recent call last):
File "world_map.py", line 6, in <module>
m = Map(600, 300)
NameError: name 'Map' is not defined
$
I'd need your help! Do you have any suggestions how I could fix this?
What additional information should I post in this mailinglist?
Thanks!
Klaus
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users