laptop and a wrench

漏洞

The Clip (management) tool fails to execute in German OS because the tool does not honor ',' as the defined decimal character for extent values.

上次发布: January 3, 2019 ArcGIS for Desktop
漏洞 ID 编号 BUG-000115365
已提交July 16, 2018
上次修改时间April 28, 2025
适用范围ArcGIS for Desktop
找到的版本10.6
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

Use arcpy.Clip_management(NDOM_Layer, str(desc.extent), export_tif). arcpy.Clip_management(NDOM_Layer, desc.extent, export_tif) is a incorrect syntax for the extent.

解决办法

Replace ',' with '.' in the extent values to provide Clip_management with the number formatting expected.For example, if the name of the shapefile used for clipping is named Clip_shp and the extent is obtained with: desc=arcpy.Describe(Clip_shp) and desc.extent, use str(desc.extent).replace(',','.') instead.

重现步骤

漏洞 ID: BUG-000115365

软件:

  • ArcGIS for Desktop

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项