Changes between Version 5 and Version 6 of Ticket #1521
- Timestamp:
- Feb 23, 2010, 6:21:22 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1521
- Property Status reopened → closed
- Property Resolution → fixed
-
Ticket #1521 – Description
v5 v6 1 {{{2 1 I want to delete features from a shape file. When i try repack after deleting the features, the .dbf file it self is getting deleted. 3 2 4 3 When i trace down the repack function, i could find that in ogrshapelayer.cpp VSIRename(.....) returns OGRERR_FAILURE. 5 4 5 {{{ 6 6 /* -------------------------------------------------------------------- */ 7 7 /* Cleanup the old .dbf and rename the new one. */ … … 15 15 return OGRERR_FAILURE; 16 16 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 17 17 }}} 18 18 19 19 Iam calling the delete feature and repack as follows 20 {{{ 20 21 ..... 21 22 poLayer->DeleteFeature(iField) 22 23 poDS->ExecuteSQL("REPACK myshapefile", NULL, NULL); 23 24 -------------25 24 }}}