Ticket #4497 (closed defect: fixed)
ogr2ogr oci -- create spatial index with tables
|Reported by:||gadomski||Owned by:||warmerdam|
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.