<?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: Merge/dissolve 2 features in same feature class where field A matches field B in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114893#M47619</link>
    <description>&lt;P&gt;I found a workaround - a "cheat" - to do what I need: create a copy of the feature class, then overwrite the main case (field A) with the&amp;nbsp;related case (field B), where the related case is not null. Then it's a simple, normal dissolve geoprocessing task on field A (and field C). While it's not quite how I intended to use my data and I've had to alter it a bit to accommodate this method, it works.&lt;/P&gt;&lt;P&gt;But... I'm still interested to know how to find where Feature 1, Field A == Feature 2, Field B in the same feature class. Basically, joining a table to itself. I know SQL can do that, though I was envisioning (and have now avoided) a messy scenario.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Nov 2021 14:51:08 GMT</pubDate>
    <dc:creator>JeffThomasILM</dc:creator>
    <dc:date>2021-11-08T14:51:08Z</dc:date>
    <item>
      <title>Merge/dissolve 2 features in same feature class where field A matches field B</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114296#M47533</link>
      <description>&lt;P&gt;I apologize if this question has been asked &amp;amp; answered before, but it's hard to search for the concept.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to merge/dissolve features where the value in Field A for Feature 1 matches the value in Field B for Feature 2. Much like an attribute join, except they're all in the same feature class. I'd like the result to be a new feature class, leaving the original unchanged. I'm trying to figure out if this can be done with geoprocessing tools or if it will require a Python cursor. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 20:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114296#M47533</guid>
      <dc:creator>JeffThomasILM</dc:creator>
      <dc:date>2021-11-04T20:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Merge/dissolve 2 features in same feature class where field A matches field B</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114310#M47535</link>
      <description>&lt;P&gt;why not just query for field A == field B, then if there are selected records, export the selection to a new featureclass, make sure you have the featureclass selected in the TOC and data export.&amp;nbsp; If you do if from the table, you will just get the table exported&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 20:56:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114310#M47535</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-11-04T20:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Merge/dissolve 2 features in same feature class where field A matches field B</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114319#M47537</link>
      <description>&lt;P&gt;There will be dozens or hundreds of A==B feature pairs, so I need to create a tool that iterates over each feature in the feature class. Also, I don't think what you described would dissolve their geometries?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 21:17:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114319#M47537</guid>
      <dc:creator>JeffThomasILM</dc:creator>
      <dc:date>2021-11-04T21:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Merge/dissolve 2 features in same feature class where field A matches field B</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114321#M47538</link>
      <description>&lt;P&gt;Ahhh important information.&lt;/P&gt;&lt;P&gt;You will have to the query within an edit session and "union" the resulting geometries before moving on to the next query.&amp;nbsp; Some partial examples in the help documentation in and around this topic&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/data-access/editor.htm" target="_blank" rel="noopener"&gt;Editor—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;PS do it on a copy&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 21:39:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114321#M47538</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-11-04T21:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Merge/dissolve 2 features in same feature class where field A matches field B</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114492#M47559</link>
      <description>&lt;P&gt;Thank you, that sounds like a step in the right direction. However, I'm far from figuring out how to do this. I'm not even sure how to write a query to match multiple features in the same FC where FieldA==FieldB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I'm trying to do. I have a bunch of features in a FC. Every feature has a case number (field A). Some of them also have a related case number (field B). I want to merge features that have related case numbers with their related cases (field B == field A, retaining the latter features' attributes). To make things more interesting, case numbers are not unique identifiers, so I also need the feature type (field C) to match on all features being merged (that's a straightforward field C == field C). There are more details, but I'm trying to boil this down as much as possible in the hopes that someone can point me in the right direction. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 14:44:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114492#M47559</guid>
      <dc:creator>JeffThomasILM</dc:creator>
      <dc:date>2021-11-05T14:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Merge/dissolve 2 features in same feature class where field A matches field B</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114893#M47619</link>
      <description>&lt;P&gt;I found a workaround - a "cheat" - to do what I need: create a copy of the feature class, then overwrite the main case (field A) with the&amp;nbsp;related case (field B), where the related case is not null. Then it's a simple, normal dissolve geoprocessing task on field A (and field C). While it's not quite how I intended to use my data and I've had to alter it a bit to accommodate this method, it works.&lt;/P&gt;&lt;P&gt;But... I'm still interested to know how to find where Feature 1, Field A == Feature 2, Field B in the same feature class. Basically, joining a table to itself. I know SQL can do that, though I was envisioning (and have now avoided) a messy scenario.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 14:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-dissolve-2-features-in-same-feature-class/m-p/1114893#M47619</guid>
      <dc:creator>JeffThomasILM</dc:creator>
      <dc:date>2021-11-08T14:51:08Z</dc:date>
    </item>
  </channel>
</rss>

