Hi,

The is nothing especial in calling the GeoRaster driver's CreateCopy from C or 
Java but can you try to use the same 
Java code to CreateCopy other formats, like GTIFF to HFA, for example? Just to 
see if there is anything missing.

Regards,

Ivan

>  -------Original Message-------
>  From: [email protected]
>  To: [email protected]
>  Subject: [gdal-dev] import georaster using gdal java api
>  Sent: Oct 12 '10 04:15
>  
>  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?
>  
>  
>  _______________________________________________
>  gdal-dev mailing list
>  [email protected]
>  http://lists.osgeo.org/mailman/listinfo/gdal-dev
>  
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to