标签:gis turn append already table int row color empty
#获得唯一值 by gisoracle def getuniqueValue(inTable,inField): rows = arcpy.da.SearchCursor(inTable,[inField]) # Create an empty list uniqueList = [] try: for row in rows: v=row[0] # If the value is not already in the list, append it if v not in uniqueList: uniqueList.append(v) return uniqueList finally: if rows: del rows
标签:gis turn append already table int row color empty
原文地址:https://www.cnblogs.com/gisoracle/p/11278995.html