Hi Dev list, I’m attempting to delete a layer using OGR_DS_DeleteLayer(), however, it results in errors like:
ERROR 1: sqlite3_exec(DROP TABLE "rtree_Track_2017_09_18_12_41_03_Line_geom") failed: database table is locked ERROR 1: sqlite3_exec(DROP TABLE 'Track_2017_09_18_12_41_03_Line') failed: database table is locked I presume that this is because recently new features were added to the layer and it is still considered open/locked. What is the correct way to release locks so that I can then delete the layer? Cheers, Nik. ======================================================== NIK SANDS Line Tamer | Time Traveller | Space Cadet _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev