Solved! Go to Solution.
I have 50 polygons named P1 to P50 which I want to merge.
I cannot find any way to keep the layer names of the origional polygons
Not sure if you'll remember this after 6 years, can you explain what you've done to achieve this? I'm currently trying to do this very thing
Jason,
I dont't remember what I did, but I could send you the toolbox I used back then and you can figure it out yourself. In order to be able to send you a message you have to follow me, I think. Responding directly to your email did not work.
Georg
that'd be helpful, i just followed you back
Hi guys -
I'm also trying to do the exact same thing. Can I get in on this?
Thanks,
Johnny
Hi Jason, I'm also trying to do this same thing. Did you sort it out, and if so, would you mind sharing?
It's 2024, and still useful, any chance you are still in the business and you can forward the toolbox to me too?
TYIA
Max
For anyone coming across this question (8 years later), this functionality is now available in the ArcGIS Pro Merge (Data Management) tool: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/merge.htm
The tool has an "Add source information to output" checkbox - if you check it, it'll add a field named MERGE_SRC to the output:
The values in the MERGE_SRC field will indicate the input dataset path or layer name that is the source of each record in the output.
When I used it, I added layers to the tool from my Map, and the values in the resulting MERGE_SRC field looked like "GroupName\LayerName" (as named in the Map's Contents list). I haven't tried it with data added to the tool directly from browsing - maybe it puts the full pathname if you do it that way.