資源簡(jiǎn)介
本程序基于arcpy編寫的Idw批處理程序,程序中具體的參數(shù)設(shè)置需根據(jù)需要自行設(shè)置
代碼片段和文件信息
#?-*-?coding:?cp936?-*-
import?arcpy
from?arcpy?import?env
from?arcpy.sa?import?*
arcpy.env.workspace=“C:/Users/dqjcs/Desktop/TM“
#?Set?the?extent?environment?using?a?keyword.
arcpy.env.extent?=?“MAXOF“
#?Set?the?extent?environment?using?the?Extent?class.
arcpy.env.extent?=?arcpy.Extent(109.00974830.489242109.765348?31.374482)
#?Set?the?extent?environment?using?a?space-delimited?string.
arcpy.env.extent?=?“109.009748?30.489242?109.765348?31.374482“
fcs=arcpy.Lis
評(píng)論
共有 條評(píng)論