
其中,rvalue: int(random.random()*2800+102)/100.0
precentage: update( !rvalue! )
def update(value):
import arcpy
list=[]
with arcpy.da.SearchCursor(r"C:UsersgisDocumentstempdatatest.gdblilac",["rvalue"]) as cursor:
for row in cursor:
list.append(row[0])
S=sum(list)
return value / S * 100
最后
以上就是单纯羽毛最近收集整理的关于在arcmap中计算每个要素占总量的百分比的全部内容,更多相关在arcmap中计算每个要素占总量内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复