Weitere ähnliche Inhalte
Ähnlich wie Python Scripting for ArcGIS (20)
Python Scripting for ArcGIS
- 26. Functions of Python Scripting
in ArcGIS
处理属性表数据(Attributes)
处理几何数据(Geometries)
处理栅格数据(Rasters)
- 27. 处理属性表数据(Attributes)
通过游标(Cursor)来处理数据
• Search
• Insert
• Update
Cursor Explanation
arcpy.InsertCursor(dataset, {spatial_reference}) Inserts rows
arcpy.SearchCursor(dataset, {where_clause},
{spatial_reference}, {fields}, {sort_fields})
Read-only
access
arcpy.UpdateCursor(dataset, {where_clause},
{spatial_reference}, {fields}, {sort_fields})
Updates or
deletes rows
- 37. 有用的资源(Useful Resources)
Reference Books
Paul A. Zandbergen, Python Scripting for ArcGIS, 2013,
ESRI Press
Websites
http://arcscripts.esri.com/ (You can download scripts
here)
http://resources.arcgis.com/en/help/main/10.1/index.ht
ml (ArcGIS help)