Overview of the Arcpy data access module
The ArcPy
data access module, known as arcpy.da
, provides capabilities for working with tables and feature classes. Through the use of various cursor objects, you can select, insert, update, and delete records from tables and feature classes. The data is held as an in-memory copy of the data. This module also supports edit sessions, NumPy
array conversions, and support for versions, domains, and subtypes.
ArcPy data access classes
The primary classes in this module deal with the various types of cursors that can be created. Cursor objects are the in-memory copy of data pulled from a table or feature class. The data access module includes three types of cursor objects including SearchCursor
, InsertCursor
, and UpdateCursor
. Each has a corresponding constructor function that is used to create the object. There are some additional classes that support edit sessions, domains, versions, and replicas.
The SearchCursor
class is used to create read-only access...