arcpy获取线要素类的长度

arcpy获取线要素类的长度
已邀请:

张国丽

赞同来自: 刀光剑影

【解决办法】:
import arcpy
srcTable=rE:\ZGL_zuoxi\测试\道路clip.shp
srcRows = arcpy.SearchCursor(srcTable)
for row in srcRows:
  s=row.getValue(shape)
  print s.getLength(GEODESIC,METERS)

要回复问题请先登录注册