<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Merging multiple layers and adding a field that shows the name or number of input layer/s as an attribute in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/merging-multiple-layers-and-adding-a-field-that/m-p/1292434#M8511</link>
    <description>&lt;P&gt;Hey Helen,&lt;/P&gt;&lt;P&gt;this will probably need a bit of Python.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to be clear: What type of "merge" are you talking about? Let's say we have two overlapping polygons in 2 layers:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_0-1684910974989.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71517i6CFCF4584896A979/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_0-1684910974989.png" alt="JohannesLindner_0-1684910974989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is your desired output the result of the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/merge.htm" target="_blank" rel="noopener"&gt;Merge geoprocessing tool&lt;/A&gt;? This will combine multiple tables, each row of each table will be copied without editing. (Selection to show that they still overlap)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_1-1684911114948.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71518iB7118B6F99A573E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_1-1684911114948.png" alt="JohannesLindner_1-1684911114948.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do you want the result of the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/union.htm" target="_blank" rel="noopener"&gt;geoprocessing tool Union&lt;/A&gt;? This works similar to Merge, but it creates the intersections as extra polygons. (Selection to show that the original polygons have been edited)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_2-1684911233025.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71519iE60F60CED31B2D06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_2-1684911233025.png" alt="JohannesLindner_2-1684911233025.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do you want the result of the &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/help/editing/merge-features-into-one-feature.htm" target="_blank" rel="noopener"&gt;editing tool Merge&lt;/A&gt;? This takes 2 geometries and turns them into one.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_3-1684911381601.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71520i5DC8209F49C11A21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_3-1684911381601.png" alt="JohannesLindner_3-1684911381601.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do you want something else?&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 06:59:43 GMT</pubDate>
    <dc:creator>JohannesLindner</dc:creator>
    <dc:date>2023-05-24T06:59:43Z</dc:date>
    <item>
      <title>Merging multiple layers and adding a field that shows the name or number of input layer/s as an attribute</title>
      <link>https://community.esri.com/t5/mapping-questions/merging-multiple-layers-and-adding-a-field-that/m-p/1292416#M8510</link>
      <description>&lt;P&gt;Hi Brains Trust,&lt;/P&gt;&lt;P&gt;I have around 100 layers that I need to merge but I also need to be able to identify which input layers were used for each polygon created in the merge ie how to add an field which shows either input layer names or how many layers overlap to create the polygon ie 1 or 3 or 6. The ranking will help us determine whether to use certain polygons as it means it has occurred in a higher number of input layers.&lt;/P&gt;&lt;P&gt;I don't have script or model building experience. Any help would be fantastic.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 04:07:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/merging-multiple-layers-and-adding-a-field-that/m-p/1292416#M8510</guid>
      <dc:creator>HelenSquires</dc:creator>
      <dc:date>2023-05-24T04:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Merging multiple layers and adding a field that shows the name or number of input layer/s as an attribute</title>
      <link>https://community.esri.com/t5/mapping-questions/merging-multiple-layers-and-adding-a-field-that/m-p/1292434#M8511</link>
      <description>&lt;P&gt;Hey Helen,&lt;/P&gt;&lt;P&gt;this will probably need a bit of Python.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to be clear: What type of "merge" are you talking about? Let's say we have two overlapping polygons in 2 layers:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_0-1684910974989.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71517i6CFCF4584896A979/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_0-1684910974989.png" alt="JohannesLindner_0-1684910974989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is your desired output the result of the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/merge.htm" target="_blank" rel="noopener"&gt;Merge geoprocessing tool&lt;/A&gt;? This will combine multiple tables, each row of each table will be copied without editing. (Selection to show that they still overlap)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_1-1684911114948.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71518iB7118B6F99A573E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_1-1684911114948.png" alt="JohannesLindner_1-1684911114948.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do you want the result of the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/union.htm" target="_blank" rel="noopener"&gt;geoprocessing tool Union&lt;/A&gt;? This works similar to Merge, but it creates the intersections as extra polygons. (Selection to show that the original polygons have been edited)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_2-1684911233025.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71519iE60F60CED31B2D06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_2-1684911233025.png" alt="JohannesLindner_2-1684911233025.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do you want the result of the &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/help/editing/merge-features-into-one-feature.htm" target="_blank" rel="noopener"&gt;editing tool Merge&lt;/A&gt;? This takes 2 geometries and turns them into one.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_3-1684911381601.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71520i5DC8209F49C11A21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_3-1684911381601.png" alt="JohannesLindner_3-1684911381601.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do you want something else?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 06:59:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/merging-multiple-layers-and-adding-a-field-that/m-p/1292434#M8511</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-05-24T06:59:43Z</dc:date>
    </item>
  </channel>
</rss>

