Ticket #2754 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by ilucena

  • status changed from new to closed
  • resolution set to fixed

Fix applied in revision n15990

Changed 3 years ago by mpearce

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.