tiffany icon indicating copy to clipboard operation
tiffany copied to clipboard

Fix weird clipping issue

Open ljvmiranda921 opened this issue 5 years ago • 0 comments

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

ljvmiranda921 avatar May 20 '19 03:05 ljvmiranda921