[gdal-dev] copy raster data in between file formats - Java

Florent JITIAUX fjitiaux at gmail.com
Wed Jun 13 03:30:03 PDT 2012


2012/6/13 Imran Rajjad <rajjad at gmail.com>

> 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


That's why as Etienne says it's easier to use  the Driver.CreateCopy
method. I never used BigTIFF files but it seems in the last version of
libtiff, it's possible to manage files larger than 4GB.

Florent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120613/7cc7408c/attachment.html>


More information about the gdal-dev mailing list