利用arcgis的python读取要素的X,Y
import arcpy
… from arcpy import env
… env.workspace=”C:\\Users\\Administrator\\Documents\\ArcGIS\\Default.gdb”
… fc=”bou2_4p_Select”
… cursor=arcpy.da.SearchCursor(“bou2_4p_Select”,[“SHAPE@XY”])
… for row in cursor:
… x,y=row[0]
… print (“{0},{1}”.format(x,y))
转载自:https://blog.csdn.net/sinat_25006091/article/details/79222732