<?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 Features to Existing Feature in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551752#M12221</link>
    <description>&lt;P&gt;Seems like correct workflow.&lt;/P&gt;
&lt;P&gt;P.s. Don't forget to set&amp;nbsp;SelectNewFeatures flag of EditOperation to true. Only your new feature will be selected after merge execution and you can take new objectid from selection for shape copying&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2024 10:25:47 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2024-10-24T10:25:47Z</dc:date>
    <item>
      <title>Merge Features to Existing Feature</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551210#M12209</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to create an add-in that merges two features into one existing one.&amp;nbsp;But the Merge method only offers a merge to a new feature. (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic9524.html" target="_blank" rel="noopener"&gt;Merge Method—ArcGIS Pro&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;Which method should I use?&lt;/P&gt;&lt;P&gt;I need basically the same functionality that the Tool -&amp;gt; Merge -&amp;gt; Existing Feature offers in ArcGIS Pro, but with certain conditions (e.g. a smaller area is always merged to a larger one, a shorter line to a longer one, etc.). So I create my own add-in.&lt;/P&gt;&lt;P&gt;Can you please advise me?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Romana Zemankova&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 11:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551210#M12209</guid>
      <dc:creator>RomanaZemankova</dc:creator>
      <dc:date>2024-10-23T11:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Features to Existing Feature</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551468#M12213</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I would like suggest you workaround I used in my case. I needed to update polygon feature with new geometry, but using EditOperation ConstructPolygons I got few polygons. So after Execute of operation I checked all results, selected one with my criteria, copied shape from new feature and made undo of last operation. After that I created new EditOperation and called Modify and Execute methods&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 17:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551468#M12213</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-10-23T17:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Features to Existing Feature</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551732#M12219</link>
      <description>&lt;P&gt;Hello, thank you very much for your suggestion.&lt;/P&gt;&lt;P&gt;For me, it is essential that the objectID of the element to which the second element is merged is preserved.&lt;/P&gt;&lt;P&gt;So your suggestion is that I merge into a new feature, take the geometry from the new feature, then cancel this operation and modify the original feature with the geometry of merge and delete the second feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 07:48:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551732#M12219</guid>
      <dc:creator>RomanaZemankova</dc:creator>
      <dc:date>2024-10-24T07:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Features to Existing Feature</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551752#M12221</link>
      <description>&lt;P&gt;Seems like correct workflow.&lt;/P&gt;
&lt;P&gt;P.s. Don't forget to set&amp;nbsp;SelectNewFeatures flag of EditOperation to true. Only your new feature will be selected after merge execution and you can take new objectid from selection for shape copying&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 10:25:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551752#M12221</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-10-24T10:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Features to Existing Feature</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551756#M12222</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;I'll try this solution.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 10:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1551756#M12222</guid>
      <dc:creator>RomanaZemankova</dc:creator>
      <dc:date>2024-10-24T10:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Features to Existing Feature</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1554115#M12252</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;my final solution is that I made the GeometryEngine.Instance.Union(polygon1, polygon2) operation, and then I changed the geometry of one feature and deleted the second feature. I avoided undo operation.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 08:13:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/merge-features-to-existing-feature/m-p/1554115#M12252</guid>
      <dc:creator>RomanaZemankova</dc:creator>
      <dc:date>2024-10-31T08:13:31Z</dc:date>
    </item>
  </channel>
</rss>

