<div dir="ltr">I keep coming back to this issue, where I cannot delete features from a .gdb in Python. I don't get any errors, it just doesn't do anything. 

I have searched the internet for solutions (which is how I got what I have now) but none of the suggestions are working. Any other suggestions I could try? It is a rather larger .gdb and I would prefer to not start from scratch or have to copy it to a new .gdb.<div><br></div><div>Here is my code:<div><br></div><div>driver = ogr.GetDriverByName('FileGDB')<br>fc = driver.Open(inFC, 1)<br>fcLayer = fc.GetLayer()<br><br>for f in featureList:<br>    fcLayer.DeleteFeature(f)<br>    fc.ExecuteSQL('REPACK ' + fcLayer.GetName())<br>    fc.ExecuteSQL('RECOMPUTE EXTENT ON ' + fcLayer.GetName())</div><div><br></div><div>Where featureList is a list of integers that correspond to the features I want to delete and inFC is the path a the .gdb I want to delete them from.</div><div><br></div><div>I am using GDAL 2.2.2. </div><div><br></div><div>My apologies if I have not submitted this email correctly, or am missing information. Thank you.<br><div><br></div><div><br></div></div></div></div>