July 2015
Intermediate to advanced
366 pages
8h 7m
English
In this recipe, you will learn how to generate data names in a catalog tree using the Arcpy Walk() function. Though similar to the Python os.walk() function, the da.Walk() function provides some important enhancements related to geodatabases.
The Walk() function, which is part of arcpy.da, generates data names in a catalog tree by walking the tree top-down or bottom-up. Each directory or workspace yields a tuple containing the directory path, directory names, and filenames. This function is similar to the Python os.walk() function but it has the added advantage of being able to recognize geodatabase structures. The os.walk() function is file-based so it isn't able to tell you information about geodatabase ...
Read now
Unlock full access