Ticket #4497 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

ogr2ogr oci -- create spatial index with tables

Reported by: gadomski Owned by: warmerdam
Priority: normal Milestone: 1.9.1
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: oci oracle
Cc: hobu, ivan

Description (last modified by gadomski) (diff)

When loading spatial data into oracle with ogr2ogr, no spatial index gets created for a new spatial table. The attached patch adds a new function, OGROCITableLayer ::CreateSpatialIndex, and calls the function during OGROCITableLayer::SyncToDisk.

It seems like the spatial index was lost when the call to OGROCITableLayer::FinalizeNewLayer was removed in changeset:22346/trunk/gdal/ogr/ogrsf_frmts/oci/ogrocitablelayer.cpp.

Attachments

oci_spatial_index.patch Download (3.9 KB) - added by gadomski 16 months ago.

Change History

Changed 16 months ago by gadomski

  • description modified (diff)
  • cc hobu, ivan added
  • component changed from default to OGR_SF
  • version changed from unspecified to svn-trunk
  • keywords oci oracle added
  • type changed from defect to enhancement

Changed 16 months ago by gadomski

Changed 16 months ago by hobu

  • type changed from enhancement to defect

Applied in trunk in r23927 and in 1.9 branch in r23928

Changed 16 months ago by hobu

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 1.9.1
Note: See TracTickets for help on using tickets.