2012/6/13 Imran Rajjad
> 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
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
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
rast
Hi Even,
I have 1.8, and I was getting a grey image earlier but I guess by
adding the Integer.SIZE in the byte array size made it work, but
honestly I am not sure how its working now, further I was wondering if
GDAL can leverage from JAI`s DiskMemImage class, because if I have to
write a bigtiff a
Le mardi 12 juin 2012 13:31:44, Imran Rajjad a écrit :
> Dear List,
>
> Have been trying to write raster from one file format e.g. BMP into a
> tiff file which will eventually become a BIGTiff. The current output
> is a grey image whereas the output should be RGB. The GeoTiFF is not
> accepting ba
Hi,
well this kind of operation is well supported under JAI, however it
has the limitations of writing a tiff file under 4GB thats why trying
out GDAL. Anyway checking out
http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/GDALTestIO.java
regards,
Imran
On Tue, Jun 12, 2012 at 5:01 PM,
Not sure about the java bindings - but why don't you use the
CreateCopy() function, which will take care of everything for you?
I'd bet the error is because you didn't include the "band_list" parameter.
Etienne
On Tue, Jun 12, 2012 at 8:31 AM, Imran Rajjad wrote:
> Dear List,
>
> Have been tryi
Dear List,
Have been trying to write raster from one file format e.g. BMP into a
tiff file which will eventually become a BIGTiff. The current output
is a grey image whereas the output should be RGB. The GeoTiFF is not
accepting bands for some reasons, To write a multiband geoTiff do we
require to