laptop and a wrench

不具合

When using the Merge tool in ArcPy, the field mappings are not honored.

ArcGIS Pro
不具合 ID 番号 BUG-000171352
送信されましたOctober 9, 2024
最終更新日June 21, 2025
適用対象ArcGIS Pro
見つかったバージョン3.3.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
修正されたバージョン3.5
ステータスFixed

参考情報

This issue is addressed in ArcGIS Pro 3.5.

対処法

In the Python notebook script, change the call to the Merge tool from arcpy.Merge_management([st_class, rc], merge_path, f_Mappings) to arcpy.Merge_management([st_class, rc], merge_path, f_Mappings.exportToString()). This uses the string version of the FieldMappings object as input to the Merge tool instead of the arcpy.FieldMappings() object and produce the expected output.

再現の手順

不具合 ID: BUG-000171352

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動