Abstract
Batch processing can be extended to work with individual records within GIS data tables. Previous chapters listed fields in multiple files within nested directories; this chapter adds another dimension to data exploration. Each data table is made of records, the rows of values in the attribute table, which can also be listed within a script. Though the term ‘records’ may be more familiar to database users, we’ll use the term ‘rows’ to refer to data records for consistency with the arcpy documentation. Cursors and file input/output techniques, enable reading and writing individual rows within data tables. The focus of this chapter is arcpy cursor functions, which work with the rows in Esri attribute tables, such as feature class tables.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Tateosian, L. (2015). Reading and Writing with Cursors. In: Python For ArcGIS. Springer, Cham. https://doi.org/10.1007/978-3-319-18398-5_17
Download citation
DOI: https://doi.org/10.1007/978-3-319-18398-5_17
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-18397-8
Online ISBN: 978-3-319-18398-5
eBook Packages: Earth and Environmental ScienceEarth and Environmental Science (R0)