arcpy批量复制栅格数据
# encoding: utf-8
import arcpy
import os
from arcpy.sa import *
arcpy.CheckOutExtension(“spatial”)
arcpy.gp.overwriteOutput=1
raster=r”F:\raster2.gdb”
raster2=r”F:\raster2.gdb”
arcpy.env.workspace=raster2
fcs=arcpy.ListRasters()
count=0
for fc in fcs:
print fc
arcpy.Copy_management(fc,”RasterDataset”,raster+”\\”+fc)
转载自:https://blog.csdn.net/A873054267/article/details/87821755