tiffany
tiffany copied to clipboard
Fix weird clipping issue
When running the batch
command on multiple files, this error is often encountered:
ERROR 4: osm/bldgs.dbf exists, but cannot be opened in update mode
ERROR 10: Pointer 'hDS' is NULL in 'OGR_DS_GetLayer'.
ERROR 10: Pointer 'hLayer' is NULL in 'OGR_L_SetSpatialFilter'.
ERROR 10: Pointer 'hLayer' is NULL in 'OGR_L_ResetReading'.
ERROR 10: Pointer 'hSrcLayer' is NULL in 'OGR_DS_CopyLayer'.
From this error report, it seems that this is a catch to prevent ogr2ogr
from overwriting a corrupt, or potentially opened DBF file.
You can see the changeset here