[gdal-dev] How detect the BlockSize to make tiles of my dataset to open it?

Francisco José Reyes Peralta gistdt08 at hotmail.es
Wed Apr 20 11:32:03 EDT 2011


Dear friends,
Using gdalinfo and my dataset i obtain the following data:
Size: 35000, 20000

Pixel Size: 0.5, -0.5

Band 1 Block = 35000x1
Type=Byte, ColorInterp=Red

Overviews:
17500x10000, 8750x5000, 4375x2500, 2187x1250, 1093x625, 546x312, 273x156

Band 2 Block = 35000x1
Type=Byte, ColorInterp=Green

Overviews:
17500x10000, 8750x5000, 4375x2500, 2187x1250, 1093x625, 546x312, 273x156

Band 3 Block = 35000x1
Type=Byte, ColorInterp=Blue

Overviews:
17500x10000, 8750x5000, 4375x2500, 2187x1250, 1093x625, 546x312, 273x156
How can I recognize my optimal blocksize to open a 250 MB ecw file in TILES mode because if I read all the dataset I obtain an outofmemory exception.
Thanks in advanced.
Francisco J. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110420/8333277b/attachment.html


More information about the gdal-dev mailing list