id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
4377	georaster.py fails on georaster-less oracle's	warmerdam	ilucena	"Ivan,

The georaster.py script fails each test on my system.  I have a working Oracle (recent vintage, details forgotten).  I am guessing the problem is that I don't have georaster support in my free version but I may be confused. 

If I test georaster with gdal_translate I get:

{{{
gdal_translate ~/utm.tif -of georaster geor:warmerda/tiger@localhost,GDAL_TEST,RASTER -co ""DESCRIPTION=(id number, raster sdo_georaster)"" -co ""INSERT=(1001, sdo_geor.init('GDAL_TEST_RDT',1001))""
Input file size is 512, 512
ERROR 1: ORA-04043: object MDSYS.SDO_GEORASTER does not exist

ERROR 1: ORA-06550: line 13, column 5:
PLS-00201: identifier 'SDO_GEOR_UTL.CREATEDMLTRIGGER' must be declared
ORA-06550: line 13, column 5:
PL/SQL: Statement ignored
}}}

When I run georaster.py I also get lots of stuff about MDSYS.SDO_GEORASTER not existing. 

I'm wondering if georaster_init() in georaster.py ought to test for the existance of MDSYS.SDO_GEORASTER and if not found clear gdaltest.oci_ds so all the tests are skipped (possibly reporting why).

"	defect	closed	normal		Autotest	unspecified	normal	fixed	georaster	
