Introduction
Python provides you the ability to batch process data through scripting. This helps you to automate workflows and increases the efficiency of your data processing. For example, you may need to iterate through all the datasets on a disk and perform a specific action on each dataset. Your 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 over 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 for creating lists of data. In Chapter 3, Managing Map Documents and Layers, we also covered a number of list functions. However, these functions...