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”Tag: arcpy
Model Builder, Batch Files, and Python for GIS
Working with GIS is fun. Preparing, analysing, visualizing, and concluding geospatial data are interesting for those have passion in it. But, doing repeated and monotonous technical jobs can be boring or even frustrating, especially if the huge load of work must be completed in a short time. Some human errors can happen. However, if the work is repeated, it can be automated using Model Builder, Batch Files, or Python. In this article, geospatial data processing is the focus of the discussion.
Continue reading “Model Builder, Batch Files, and Python for GIS”