Skip to main content

Reading and Writing with Cursors

  • Chapter
  • 187k Accesses

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.

Keywords

  • Attribute Table
  • Error Handling
  • Parameter List
  • Geometry Object
  • Deletion Statement

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-3-319-18398-5_17
  • Chapter length: 25 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   79.99
Price excludes VAT (USA)
  • ISBN: 978-3-319-18398-5
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   99.99
Price excludes VAT (USA)
Hardcover Book
USD   139.99
Price excludes VAT (USA)
Figure 17.1
Figure 17.2
Figure 17.3
Figure 17.4
Figure 17.5

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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