[gdal-dev] GDAL Tiling

Jay L. jzl5325 at psu.edu
Wed Mar 28 07:59:51 EDT 2012


1) An AOI can be created using the -projwin option in gdal_translate.  You
can use that option when creating a new raster with a new tiles size.

2) Using the Python bindings it is possible to read a segment of a raster
into memory without allocating memory.  I am unsure using another other


On Wed, Mar 28, 2012 at 5:16 AM, Mateusz Loskot <mateusz at loskot.net> wrote:

> On 28 March 2012 07:45, akshay gupta <akshaygupta202 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120328/462b59c8/attachment.html

More information about the gdal-dev mailing list