I have a file gdb containing feature classes and address locators. I am listing and storing the names of the datasets using
arcpy.env.workspace = "C:\input.gdb"
(root, fds, ftrs) = arcpy.da.Walk().next()
The feature class names appear in ftrs
as expected, but the locators do not. By filtering on FeatureClass
(root, fds, ftrs) = arcpy.da.Walk(datatype='FeatureClass').next()
the feature class names are populated once again, as expected. Filtering on datatype=Locator
returns an empty list. I set the filter to Table
as a check, and the list returned empty as expected.
I would like to know why the address locators in the file gdb are not being listed when arcpy.da.Walk
is used to specifically filter out Locator
?
Any
still only returned the feature classes, and not the locators. – Cindy Jayakumar Apr 22 '15 at 12:32