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
Solved! Go to Solution.
Do you mean like ListFeatureClasses ? There are many more here if this is what you mean
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