Book Image

Programming ArcGIS with Python Cookbook, Second Edition

By : Donald Eric Pimpler, Eric Pimpler
Book Image

Programming ArcGIS with Python Cookbook, Second Edition

By: Donald Eric Pimpler, Eric Pimpler

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
Index

Chapter 8. Using the ArcPy Data Access Module with Feature Classes and Tables

In this chapter, we will cover the following recipes:

  • Retrieving features from a feature class with SearchCursor

  • Filtering records with a where clause

  • Improving cursor performance with geometry tokens

  • Inserting rows with InsertCursor

  • Updating rows with UpdateCursor

  • Deleting rows with UpdateCursor

  • Inserting and updating rows inside an edit session

  • Reading geometry from a feature class

  • Using Walk() to navigate directories