Hi, how do I read geodatabase content using python? Creating a file geodatabase is not a problem but after that, how can I acces the file GDB using python and -for example- lists its content
tia, Bert
Do you mean like ListFeatureClasses ? There are many more here if this is what you mean
That's exactly what I mean, thanks Dan, and thank you Matthew for your code example.
just adding to the first reply
import arcpy from arcpy import env env.workspace = "C:/mygdb.gdb" fclist = arcpy.ListFeatureClasses() for fc in fclist: ## Add Code here print fc
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.