Hi there I am trying to generate map tiles out of an osm-file, but for some reason mapnik has problems with the rendering. Often it generates only the background and if it renders more then it is only some random stuff.
When I try to render the test2.xml from http://trac.mapnik.org/browser/trunk/plugins/input/osm it generates this tile: http://img145.imageshack.us/img145/8569/mapnikerror.png I am using mapnik 0.7.0 from the ubuntu repositories. The relevant source code (mainly taken from the examples) is: datasource_cache::instance()->register_datasources ("/usr/lib/mapnik/0.7/input/"); freetype_engine::register_font ("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"); Map map (tdim,tdim); load_map(map,"/home/tom/Desktop/test2.xml"); map.zoom_all(); Image32 buf(map.getWidth(), map.getHeight()); agg_renderer<Image32> ren(map,buf); ren.apply(); QImage image((uchar*)buf.raw_data(),map.getWidth(), map.getHeight(),QImage::Format_ARGB32); Cheers Tom _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

