[gdal-dev] import georaster using gdal java api
mmatuszak at rootnode.net
mmatuszak at rootnode.net
Tue Oct 12 05:15:16 EDT 2010
Hi,
I am facing problem which I am not able to jump over:)
I created georaster table using instruction from oracle website
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14254/geor_operations.htm
Using gdal_translate and pl/sql I am able to import geotiff into
Oracle.
Then using gdal to export from oracle I am receiving proper image.
But doing the same in java
oracle_driver.CreateCopy("georaster:"+db_connection, datasource,
0, new String[] { "INSERT=VALUES(" + id + ",
SDO_GEOR.INIT('GEORASTER_RDT_01'))",
"blockxsize=512", "blockysize=512", "blockbsize=3"});
and then exporting it again I got image full of black colour.
What am I doing wrong?
More information about the gdal-dev
mailing list