Not something that's supported by shapelib (at least not for shp; there is some "mark as deleted" functionality for dbf) but it could be hacked by dumping shapefile contents minus the entity to delete to a tmp fie, then swapping that in.
Again, something that might more effectively be accomplished by modifying shapelib itself
Not something that's supported by shapelib (at least not for shp; there is some "mark as deleted" functionality for dbf) but it could be hacked by dumping shapefile contents minus the entity to delete to a tmp fie, then swapping that in.
Again, something that might more effectively be accomplished by modifying shapelib itself