The Append tool repeats attribute value in the target if inputs have the same field map and the merge rule of Join is used.
上次发布: August 25, 2014ArcGIS for Desktop
漏洞 ID 编号
NIM071710
已提交
August 17, 2011
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
10.0
操作系统
Windows OS
操作系统版本
7
修正版本
10.1
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
1. For the tool in ArcMap, change the merge rule to something other than Join or remove either FuelLine_Test.ACCURACY or StormLine_Test.ACCURACY from the field map.2. In Python for the tool, add an if statement to test for a repeat of the field map or use something other than the Join merge rule. An example of an if statement is: if nextTuple not in in_out_fld_list: if infield == outfield: continue else: in_out_fld_list.append(nextTuple) else: #this combination of infield and outfield already mapped continue