Geographic Information System (GIS)

ArcPy Cursor for GIS

Analyzing attirbute table in GIS data, like feature class can be done by Python Arcpy. This article is the second part of this article.  It is called cursor. There are three types of cursor: search, update  and insert cursor. Search cursor is for summarizing the rows in the attribute table  by average, sum, and others. Below is the example script of using search cursor to print and calculate the total area of polygons of which the area is less than or equals to 20 ha.

Continue reading “ArcPy Cursor for GIS”