<?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: Combining multiple grids in the same layer using python in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1261417#M65899</link>
    <description>&lt;P&gt;So looking at your table I assume you want to merge them by&lt;EM&gt; system number&lt;/EM&gt; field. The "easy" way would be (you'll have to deal with python logic&amp;nbsp;a bit):&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Dissolve by &lt;EM&gt;system numbe&lt;/EM&gt;r field, this will create a temporary feature class with the features merged by its value.&lt;/LI&gt;&lt;LI&gt;Create a SearchCursor for dissolved feature class storing system number value and SHAPE@ object in differente variables&lt;/LI&gt;&lt;LI&gt;Create an InsertCursor for your existing grid feature class&lt;/LI&gt;&lt;LI&gt;For every system number value from SearchCursor apply a &lt;EM&gt;Selection by attribute&lt;/EM&gt; on your grid feature class and execute DeleteFeatures.&lt;/LI&gt;&lt;LI&gt;Finally add/insert the shape and system number value into your existing grid feature class with the InsertCursor (the rest of the fields would be Null of course, although I see only Name field has values)&lt;/LI&gt;&lt;LI&gt;Delete temporary feature class&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 14:54:05 GMT</pubDate>
    <dc:creator>Kepa</dc:creator>
    <dc:date>2023-02-24T14:54:05Z</dc:date>
    <item>
      <title>Combining multiple grids in the same layer using python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1260659#M65838</link>
      <description>&lt;P&gt;How do I combine multiple grids using python without having to create a new layer ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="neomapper_0-1677100130576.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/63452i24D544CED21BE34C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="neomapper_0-1677100130576.png" alt="neomapper_0-1677100130576.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 21:11:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1260659#M65838</guid>
      <dc:creator>neomapper</dc:creator>
      <dc:date>2023-02-22T21:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Combining multiple grids in the same layer using python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1260921#M65858</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/422245"&gt;@neomapper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you mean having all different grids in one feature class? If that's the case you can create them (Grid Index Features -Cartography) and merge them with python into a singel FC. Or just merge them if you already have them.&lt;/P&gt;&lt;P&gt;If not try to clarify what's your goal here. Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 15:26:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1260921#M65858</guid>
      <dc:creator>Kepa</dc:creator>
      <dc:date>2023-02-23T15:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Combining multiple grids in the same layer using python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1261376#M65892</link>
      <description>&lt;P&gt;Hi Kepa,&lt;/P&gt;&lt;P&gt;The grid index creates an entirely new layer which is something that I can't utilize because we have over +200 systems and approx. +3000 grids. There is the edit merge tool but I would have to manually select each and every system and grids to merge which is difficult doing this by hand each week. Is there a way or tool to select features in the same feature class and merge grids without having to create an entire new feature class?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="neomapper_0-1677246061516.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/63647i507E61D4791A2192/image-size/medium?v=v2&amp;amp;px=400" role="button" title="neomapper_0-1677246061516.png" alt="neomapper_0-1677246061516.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 13:46:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1261376#M65892</guid>
      <dc:creator>neomapper</dc:creator>
      <dc:date>2023-02-24T13:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Combining multiple grids in the same layer using python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1261382#M65893</link>
      <description>&lt;P&gt;Ok, I was misunderstanding your goal here. You are talking about merging grid features of the same feature class and not grid feature classes, is that right?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 13:56:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1261382#M65893</guid>
      <dc:creator>Kepa</dc:creator>
      <dc:date>2023-02-24T13:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Combining multiple grids in the same layer using python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1261388#M65894</link>
      <description>&lt;P&gt;Yep, grid features of the same feature class!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 14:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1261388#M65894</guid>
      <dc:creator>neomapper</dc:creator>
      <dc:date>2023-02-24T14:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Combining multiple grids in the same layer using python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1261417#M65899</link>
      <description>&lt;P&gt;So looking at your table I assume you want to merge them by&lt;EM&gt; system number&lt;/EM&gt; field. The "easy" way would be (you'll have to deal with python logic&amp;nbsp;a bit):&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Dissolve by &lt;EM&gt;system numbe&lt;/EM&gt;r field, this will create a temporary feature class with the features merged by its value.&lt;/LI&gt;&lt;LI&gt;Create a SearchCursor for dissolved feature class storing system number value and SHAPE@ object in differente variables&lt;/LI&gt;&lt;LI&gt;Create an InsertCursor for your existing grid feature class&lt;/LI&gt;&lt;LI&gt;For every system number value from SearchCursor apply a &lt;EM&gt;Selection by attribute&lt;/EM&gt; on your grid feature class and execute DeleteFeatures.&lt;/LI&gt;&lt;LI&gt;Finally add/insert the shape and system number value into your existing grid feature class with the InsertCursor (the rest of the fields would be Null of course, although I see only Name field has values)&lt;/LI&gt;&lt;LI&gt;Delete temporary feature class&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 14:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/combining-multiple-grids-in-the-same-layer-using/m-p/1261417#M65899</guid>
      <dc:creator>Kepa</dc:creator>
      <dc:date>2023-02-24T14:54:05Z</dc:date>
    </item>
  </channel>
</rss>

