Le mardi 29 mars 2011 07:35:59 Dane Springmeyer, vous avez écrit :
> Nicolas, I don't think anything changed in terms mapnik2.render(). What may
> be happening is that your mapnik2 install did not get built with Cairo
> support. Try passing CAIRO=True as a command line option when building.

I've tried, and the flag is well displayed at the begin of configure / build 
and 
install. But I've still this error:
  File "carte.py", line 50, in myMap
    mapnik2.render(m, ctx)
Boost.Python.ArgumentError: Python argument types in
    mapnik2._mapnik2.render(instance, cairo.Context)
did not match C++ signature:
    render(mapnik::Map, mapnik::image_32 {lvalue})
    render(mapnik::Map, mapnik::image_32 {lvalue}, double)
    render(mapnik::Map, mapnik::image_32 {lvalue}, double, unsigned int)
    render(mapnik::Map, mapnik::image_32 {lvalue}, double, unsigned int, 
unsigned int)
-- 
Nicolas Dumoulin
http://wiki.openstreetmap.org/wiki/User:NicolasDumoulin
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to