Dear all,I have a problem that comes and go's. Currently is is again immanent and I wonder what's causing it.Working with ArcGIS 10 and using straight the IDLE from Python...>>> import arcpy
>>> from arcpy import env
>>> env.workspace = r"Path\\to\\database.gdb"
>>> lstFDS = arcpy.ListDatasets("*", "FEATURES") # returns list of three items - correct
>>> lstPOLY = arcpy.ListFeatureClasses("*", "POLYGON", lstFDS[2])
>>> lstPOLY
[]
The dataset requested is holding almost 200 feature classes, all of them loaded with polygons.I see all of them in ArcCatalog, but not in Python!Anybody an idea? I already had a took care of remaining objects and invoked the garbage collector by hand but nothing.Cheers Thomas
- We are living in the 21st century.
GIS moved on and nobody needs a format consisting out of at least three files! No, nobody needs shapefiles, not even for the sake of an exchange format. Folks, use GeoPackage to exchange data with other GIS!