Kai Krueger schrieb:
> Yes, that is exactly the error I was seeing too.

Okay, so rendering simple Shapefiles works (on willow):

maz...@willow:~$ OSM=/home/project/o/s/m/osm/ $OSM/tools/render \
   --style $OSM/data/mapnik/shape.xml


but even with a very small stylesheet (shapefiles & place names) it 
stops working:


maz...@willow:~$ OSM=/home/project/o/s/m/osm/ $OSM/tools/render \
   --style $OSM/data/mapnik/simple.xml

rendering bbox (-180, -85, 180, 85) in style 
/home/project/o/s/m/osm//data/mapnik/shape-names.xml to file map which 
is of type png in size 800x600

Traceback (most recent call last):
   File "/home/project/o/s/m/osm//tools/render", line 128, in <module>
     main()
   File "/home/project/o/s/m/osm//tools/render", line 81, in main
     mapnik.load_map(m, style)
UserWarning: Could not create datasource. No plugin found for type 
'postgis' in layer 'placenames-large'
maz...@willow:~$


It seems mapnik was compiled before postgis was available and so doesn't 
know about the postgis plugin. Maybe a simple recompile would solve this 
issue. On this run we should add the cairo bindings to support rendering 
to pdf, svg & co.

Peter

_______________________________________________
Maps-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/maps-l

Reply via email to