Opened 12 years ago
Closed 12 years ago
#4497 closed defect (fixed)
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 )
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 (1)
Change History (4)
comment:1 by , 12 years ago
Cc: | added |
---|---|
Component: | default → OGR_SF |
Description: | modified (diff) |
Keywords: | oci oracle added |
Type: | defect → enhancement |
Version: | unspecified → svn-trunk |
by , 12 years ago
Attachment: | oci_spatial_index.patch added |
---|
comment:2 by , 12 years ago
Type: | enhancement → defect |
---|
comment:3 by , 12 years ago
Milestone: | → 1.9.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Applied in trunk in r23927 and in 1.9 branch in r23928