laptop and a wrench

Erro

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

ArcGIS Pro
Número de ID do Erro BUG-000171352
EnviadoOctober 9, 2024
Última ModificaçãoJune 21, 2025
Aplica-se àArcGIS Pro
Versão encontrada3.3.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
Versão Fixa3.5
StatusFixed

Informações Adicionais

This issue is addressed in ArcGIS Pro 3.5.

Solução Provisória

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.

Etapas para Reproduzir

ID do Erro: BUG-000171352

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download