[gdal-dev] import georaster using gdal java api

Even Rouault even.rouault at mines-paris.org
Tue Oct 12 05:40:41 EDT 2010

Selon mmatuszak at rootnode.net:

I'm not sure if this will solve your problem but according to
you should explicitely call .delete() on the returned dataset to ensure that
everything gets properly closed.

> Hi,
> I am facing problem which I am not able to jump over:)
> I created georaster table using instruction from oracle website
> 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 + ",
>  "blockxsize=512", "blockysize=512", "blockbsize=3"});
> and then exporting it again I got image full of black colour.
> What am I doing wrong?
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

More information about the gdal-dev mailing list