漏洞
| 漏洞 ID 编号 | BUG-000123466 |
|---|---|
| 已提交 | July 2, 2019 |
| 上次修改时间 | June 25, 2025 |
| 适用范围 | ArcGIS Pro |
| 找到的版本 | N/A |
| 操作系统 | N/A |
| 操作系统版本 | N/A |
| 状态 | Will Not Be Addressed |
Run the Clip Raster tool 'arcpy.Clip_management()’ using the mosaic dataset Test_mosaic1 as an input while setting the clip extent to the boundary of the input mosaic dataset and NoData value set to None. The output TIFF file will have NoData value set to None.
import arcpy
in_raster = r"C:\CaseUser\Gian Raphael Prinz\New File Geodatabase.gdb\Test_mosaic1"
rectangle = "4489727.05 5477485.223 4488761.95 5479555.305"
out_raster = r"C:\CaseUser\Gian Raphael Prinz\Output_9.tif"
in_template_dataset = ""
nodata_value = None
clipping_geometry = None
maintain_clipping_extent = "NO_MAINTAIN_EXTENT"
arcpy.Clip_management(in_raster, rectangle, out_raster, in_template_dataset, nodata_value, clipping_geometry, maintain_clipping_extent)
漏洞 ID: BUG-000123466
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序