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...
Programming ArcGIS with Python Cookbook, Second Edition
By :
Programming ArcGIS with Python Cookbook, Second Edition
By:
Overview of this book
Table of Contents (22 chapters)
Programming ArcGIS with Python Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Fundamentals of the Python Language for ArcGIS
Managing Map Documents and Layers
Finding and Fixing Broken Data Links
Automating Map Production and Printing
Executing Geoprocessing Tools from Scripts
Creating Custom Geoprocessing Tools
Querying and Selecting Data
Using the ArcPy Data Access Module with Feature Classes and Tables
Listing and Describing GIS Data
Customizing the ArcGIS Interface with Add-ins
Error Handling and Troubleshooting
Using Python for Advanced ArcGIS
Using Python with ArcGIS Pro
Automating Python Scripts
Five Python Recipes Every GIS Programmer Should Know
Index
Customer Reviews