This content has been marked as final. Show 2 replies
this error mesg shows the tiff image cannot be handled by importFrom, which completely depends upon JAI. how big is the image and how the bands are interleaved in the tiff file? Also, can you run the cliend-side GeoRasterLoader to load the image? It will print the error stack of the java exception in more details.
JAI has a lot of limitations in handling geospatial images. So, we generally recommend you use GDAL which supports GeoRaster for loading and exporting all GDAL supported formats. (http://www.gdal.org/frmt_georaster.html)
on the side, a couple of recommendations for your scripts:
1. always use SecureFile lob when creating the RDT's, which speeds up georaster operations by several times. in other words change "LOB(rasterBlock) STORE AS lobseg" to "LOB(rasterBlock) STORE AS SECUREFILE". (also, remove the name "lobseg" or give a special name for each RDT)
2. When loading an image into a GeoRaster database, always specify a block size, and it should generally be 256x256 or larger.