Creating big images
Hello, I want to create really big images using JAI, which I will finally write to GeoTiff or ArcGRID by using GeoTools.
In order to write the image with GeoTools, I need a Raster or an Image object. I usually use something like this to create the raster:
Raster m_Raster = RasterFactory.createBandedRaster(DataBuffer.TYPE_FLOAT,
60000, 60000, 1, null);
In this way, I can later use this Raster to actually write to disk by using GeoTools.
However, when I use so big sizes, I get the following exception:
java.lang.IllegalArgumentException: Size of array must be smaller than Integer.MAX_VALUE.
So I see this is not a valid option to create big images... Is there another option to create a big Raster or Image object with JAI?
Thanks in advance,