On 28 March 2012 07:45, akshay gupta <akshaygupta...@gmail.com> wrote: > 2) When I read an image through ReadBlock() i had to allocate some memory > and pass it in the function. Is there some way that i get the image data > stored in GDALRasterBlock directly without passing my own allocated memory.
http://www.gdal.org/classGDALRasterBlock.html#_details "In normal situations applications do not interact directly with the GDALRasterBlock - instead it it utilized by the RasterIO() interfaces to implement caching" Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev