Hi,

I'm new to Mapnik and I already set up Mapnik with WMS/OGCServer (my OS is 
OpenSUSE 11.1). I tried the "hello world" example from here 
http://trac.mapnik.org/wiki/XMLGettingStarted and it works, but when I try the 
second example "population" I always get an empty png image. Why is this? I 
nearly spent hours getting this example to work but no success :( ...

That's the way how I tried it:

I got the source from this page:

http://mapnik-utils.googlecode.com/svn/example_code/world_population/

Then I changed the path to the shapefiles in the population.xml like this 
"../data/world_borders"
--> the ../data/worldborders directory contains only those files (I changed the 
rights to 777):

thematic_mapping_world.dbf
thematic_mapping_world.prj
thematic_mapping_world.shp
thematic_mapping_world.shx

Now, when I run the world_population.py it seems that all is working fine and I 
get the following output:

 /rule(filter_statement):       ""
/grammar(<unknown>):    ""
size = 2
file=../data/world_borders
type=shape
Envelope(-180,-90,180,83.62359600000001)
file_length=3332172
shape_type=5
datasource=0x80fa6c8 type=1
scale=0.3
start map processing bbox=Envelope(-210,-90,210,90)
scale denominator = 1.19271e+08
start layer processing : countries
datasource = 0x80fa6c8
ENCODING = utf-8
 total shapes read=3784
end layer processing
end map processing
0.37 s

 destroyed singleton 
 destroyed singleton 
 destroyed singleton 


But the file is just blank.

I would appreciate it if you could help me!

thanks,

Martin
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to