Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2754 closed defect (fixed)

georaster: In Oracle 10g generateSpatialExtent() in PL/SQL accept only one parameter

Reported by: ilucena Owned by: ilucena
Priority: normal Milestone: 1.6.1
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: georaster
Cc: warmerdam

Description

The PL/SQL code generated by the georaster driver uses the syntax from Oracle Spatial version 11g that includes the 3D dimension as the second parameter "generateSpatialExtent( GR1, NULL )":

http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/georaster/georaster_wrapper.cpp#L1860

Removing that second parameter will allow the PL/SQL script to work properly on 10g and it will allow 11g to assume the default as NULL.

Complementary to that. Raster without georeference should not have Spatial Extent (a bounding box or polygon with the foot print of the image). So, sdo_geor.generateSpatialExtent() should not be called at all.

Change History (2)

comment:1 by ilucena, 15 years ago

Resolution: fixed
Status: newclosed

Fix applied in revision n15990

comment:2 by mpearce, 15 years ago

It works now after re-building GDAL on the 1.6 branch in SVN, as you indicated.

thanks!

Note: See TracTickets for help on using tickets.