laptop and a wrench

漏洞

An error occurs when attempting to save the output from a Spatial Analyst Math tool if it is executed after the Zonal Statistics tool in a Python script.

上次发布: November 13, 2014 ArcGIS for Desktop
漏洞 ID 编号 BUG-000082964
已提交November 3, 2014
上次修改时间June 5, 2024
适用范围ArcGIS for Desktop
找到的版本10.2.2
操作系统Windows OS
操作系统版本7
状态Non-Reproducible

附加信息

The script has some errors. The line for setting overwrite output data should be: env.overwriteOutput = True

解决办法

Use the syntax exported by Mode lBuilder. The syntax includes an additional parameter for the output raster (out_raster). For example:<a href="http://arcpy.gp" target="_blank">arcpy.gp</a>.ZonalStatistics_sa(in_zone_data, zone_field, in_value_raster, out_raster, {statistics_type}, {ignore_nodata})<a href="http://arcpy.gp" target="_blank">arcpy.gp</a>.Minus_sa(in_raster_or_constant1, in_raster_or_constant2, out_raster)

重现步骤

漏洞 ID: BUG-000082964

软件:

  • ArcGIS for Desktop

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项