laptop and a wrench

漏洞

The 'arcgis.features.analysis.join_features' script in the ArcGIS API for Python fails to overwrite an existing feature when {"overwrite": True}).

ArcGIS API for Python
漏洞 ID 编号 BUG-000161437
已提交September 14, 2023
上次修改时间June 5, 2024
适用范围ArcGIS API for Python
找到的版本2.1.0
操作系统N/A
操作系统版本N/A
状态As Designed

附加信息

The sample provided code is incorrect. When overwriting a feature layer, the input for the 'output_name' needs to be a FeatureLayer object. Sample pseudocode: overwrite_item = gis.content.get("some item id") results = arcgis.features.analysis.join_features( target_layer=FeatureLayer( "https://myurl.com/0" ), join_layer=fl, spatial_relationship='intersects', output_name=overwrite_item.layers[ 0 ], # needs to be feature layer object. context={"overwrite": True}, )

重现步骤

漏洞 ID: BUG-000161437

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项