Select to view content in your preferred language

Merge/Join multiple layers and use layer name as new field name for RASTERVALU

580
1
01-22-2024 08:05 AM
BenBlowers2
Occasional Contributor

Hello

I would like to merge over 100 layers into a single layer, and use the layer name from each layer as a new field name with the attributes pulled across.

BenBlowers2_0-1705939272895.png

For example the final table might look something like this

BenBlowers2_1-1705939431033.png

Does anyone know how to do this?

Thanks,

Ben

0 Kudos
1 Reply
Robert_LeClair
Esri Notable Contributor

I believe the Merge (Data Management) GP tool using the Field Map parameter to add fields to the output attribute table would be your best approach.

0 Kudos