基本信息
源码名称:Arcgis 栅格数据批量镶嵌 python代码
源码大小:2.49KB
文件格式:.py
开发语言:Python
更新时间:2019-07-19
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 1 元 
   源码介绍

Arcgis 10.2 栅格数据批量镶嵌(python版)

for i in range(6, 9): # tif数据  geoloc_wgs84_tif_folder = os.path.join(processWksFolder, str(i)   "_10k")
    daysfiles = [] for dayfile in os.listdir(geoloc_wgs84_tif_folder):
        daysfiles.append(os.path.join(geoloc_wgs84_tif_folder, dayfile))
    print(daysfiles)
    monthly_mosaic_file = os.path.join(mosaic_proj_monthly_tif_folder, str(i).zfill(3)   "_10k.tif") # if(os.path.exists(monthly_mosaic_file)):  # continue   print("镶嵌多天数据至一个月")
    arcpy.CreateRasterDataset_management(mosaic_proj_monthly_tif_folder, str(i).zfill(3)   "_10k.tif", "", "16_BIT_SIGNED", "", 1, "", "", "", "", "")
    arcpy.Mosaic_management(daysfiles, monthly_mosaic_file, "MEAN", "MATCH", -9999, -9999, "NONE", 0, "NONE")