Am 21. Februar 2012 16:48 schrieb tim martin <[email protected]>: > #!/usr/bin/env python > import mapnik > mapfile = 'map.xml' > map_output = 'map.tif' > m = mapnik.Map(132000, 248000) > mapnik.load_map(m, mapfile) > bbox = mapnik.Box2d(mapnik.Coord(0, 0), mapnik.Coord(700000, 1300000)) > m.zoom_to_box(bbox) > mapnik.render_to_file(m, map_output) > > Should I be changing the map size or the box?
I guess you'll have to change the map size. I am not sure if mapnik is the best tool to combine huge tiffs of this dimension, what about using GDAL? Are you sure you have enough space left? What kind of tif are you creating? If it was an uncompressed 1-Bit tiff you'd already need 3,81 GB, if it was 8 Bit it would need 30,5 GB and 24 Bit would need 91,5 GB. You should also make sure that your filesystem supports files of this size. cheers, Martin _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

