摘要:
基于ArcGIS10.1,别有用处。 import arcpy lyr= file=r"C:\Users\dell\Desktop\dapo.txt" with open(file,'w') as txt: txt.write('Polygon\r\n') with arcpy.da.SearchC 阅读全文
摘要:
Python工具代码,非Python窗口脚本,可以自行编辑处理一下。 # coding=gbk import arcpy from arcpy import da as da def main(): lyr=arcpy.GetParameter(0) fld=arcpy.GetParameterAs 阅读全文
摘要:
Python工具代码,非Python窗口脚本,可以自行编辑处理一下。 # coding=gbk import arcpy from arcpy import da as da def getFieldUniqueValue(inTable,inField): rows=arcpy.da.Search 阅读全文