摘要:
# -*- coding: utf-8 -*- import arcpy import os def NcToRaster(ncFile, workspace=None): if workspace is None: workspace = os.path.dirname(ncFile) arcpy 阅读全文
posted @ 2023-10-25 00:59
槑孒
阅读(97)
评论(0)
推荐(0)
摘要:
要使用arcpy删除栅格图层,可以使用Delete_management()函数。 import arcpy # 设置工作空间 arcpy.env.workspace = "D:/data" # 定义要删除的栅格图层名称 raster_layer = "example_raster.tif" # 删 阅读全文
posted @ 2023-10-25 00:47
槑孒
阅读(142)
评论(0)
推荐(0)

浙公网安备 33010602011771号