Hi Florent, I get your point , but the thing is how does one copy raster across datasets when the required size value is more than Integer`s maximum value, It would make sense to fill memory raster data store with 1Gb of data and dump it in the destination data store, but things break down where you need to allocate an array for raster data. You can either put the data in an array or bytebuffer and both require capacity in terms of integer. It would be great if you can copy a dataset at a given location and dimensions in another dataset with same data type.
regards, Imran On Wed, Jun 13, 2012 at 12:25 PM, Florent JITIAUX <fjiti...@gmail.com> wrote: > Hi all, > > process with a large amount of data like images is always a problem in Java. > But you don't need to use JAI. You can process with any image by divide it > in smaller rasters. That's why you have xoff and yoff arguments in > ReadRaster and WriteRaster Method. You fix width and height of the raster > you read and add them of offsets of next raster you read. > > Florent -- I.R _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev