I asked the gdal-dev forum this morning and a response said to use mapnik. others have given me some other options, which I am trying also.
the hillshade is 2gb and the topographic is 4.3gb, these are compessed so thats why i wondered if I could loop through the smaller files which are only a few MB each an 4000x4000 in size. but I am new to python and mapnik, so not sure if you can write a loop statement to step through each small rater. On 21 February 2012 16:29, Martin Koppenhoefer <[email protected]>wrote: > 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

