[gdal-dev] Detect if File Geodatabase has a schema lock

Pouliot, Christopher (DNR) Christopher.Pouliot at state.mn.us
Wed Feb 8 10:17:24 EST 2012

Hi All,

I am writing to an ESRI File Geodatabase and need to test to see if a layer has a schema lock on it (if it is loaded in ArcMap).  I test with  layer.TestCapability("SequentialWrite") and it always returns true yet when I attempt to write a feature to that layer it chokes saying that there is a schema lock on the layer.

So my question is, can I write to a layer that contains a schema lock?  If not, how can I effectively check to see if a schema lock exists?



More information about the gdal-dev mailing list