4

I want to simply process a layer by writing a tool script in a toolbox without having to connect any database, so I think I may have to set up a workspace environment in ArcMap, but I'm not sure if I need to do anything else.

Essentially I want to find a Python version of the ArcObjects IWorkspace.ExecuteSQL method.

1
1

For file geodatabases, I do not think this is possible through arcpy, but it is using GDAL/OGR: ogr2ogr / GDAL remove features in FileGDB while in use by ArcGIS Server map service

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.