ArcGIS ArcPy Python处理数据
1、使用搜索游标查看行中的字段值。import arcpynn# Set the workspacenarcpy.env.workspace = “c:/base/data.gdb”nn# Create the search cursorncursor = arcpy.SearchCursor(“roads”, ‘”TYPE” <> 4′)nn# Iterate through the…
1、使用搜索游标查看行中的字段值。import arcpynn# Set the workspacenarcpy.env.workspace = “c:/base/data.gdb”nn# Create the search cursorncursor = arcpy.SearchCursor(“roads”, ‘”TYPE” <> 4′)nn# Iterate through the…