在ArcGIS的Field Calculator生成随机数字段 发表于 2014-03-04 分类于 Dev , GIS 评论: 0 阅读次数: 概述步骤如下: 详细内容1.打开Field Calcualtor 2.点击Python代码选项 3.点击Show Codeblock, 粘贴我的代码: def fillRandomInt(intMin, intMax): import random return random.randint((int(intMin), int(intMax)) 4.下面字段赋值窗口粘贴如下代码(1,100可自行修改): fillRandomInt(1,100)
💬 评论