Introduction
Python provides you with the ability to batch process data through scripting. This helps you automate workflows and to increase the efficiency of your data processing. For example, you may need to iterate through all datasets on disk and perform a specific action for each dataset. The first step is often to perform an initial gathering of data before proceeding to the main body of the geoprocessing task. This initial data gathering is often accomplished through the use of one or more list methods found in ArcPy. These lists are returned as true Python list objects. These list objects can then be iterated for further processing. ArcPy provides a number of functions that can be used to generate lists of data. These methods work on many different types of GIS data. In this chapter, we will examine the many functions provided by ArcPy to create lists of data. In Chapter 2, Managing Map Documents and Layers, we also covered a number of list functions. However, these functions were...