<?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: Ability to split polygon features with ArcGIS Pro SDK? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871312#M5197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;Use the Cut method on EditOperation to cut polygon features with a split geometry.&lt;/P&gt;&lt;P&gt;This is being deprecated at 2.3 in favor of the Split method which will have more overloads for polygons and splitting by features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2018 22:15:51 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-11-27T22:15:51Z</dc:date>
    <item>
      <title>Ability to split polygon features with ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871311#M5196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently writing functionality with the ArcGIS Pro SDK part of which will be used to split polygon features.&amp;nbsp;To do the split, I am using an EditOperation and calling the method Split(Layer, ObjectID, Geometry). When attempting this on a polygon layer, I am seeing an exception thrown that says "Only polyline layers can be split". This is interesting, because polygon splits are possible through the ArcGIS Pro editing interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the ArcGIS Pro SDK not support splitting polygon features? Or if it does, is there another way I would be able to do the split with the SDK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 20:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871311#M5196</guid>
      <dc:creator>GregSmith2</dc:creator>
      <dc:date>2018-11-27T20:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ability to split polygon features with ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871312#M5197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;Use the Cut method on EditOperation to cut polygon features with a split geometry.&lt;/P&gt;&lt;P&gt;This is being deprecated at 2.3 in favor of the Split method which will have more overloads for polygons and splitting by features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 22:15:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871312#M5197</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-11-27T22:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ability to split polygon features with ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871313#M5198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to know, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 15:22:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871313#M5198</guid>
      <dc:creator>GregSmith2</dc:creator>
      <dc:date>2018-11-28T15:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ability to split polygon features with ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871314#M5199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sean,&lt;/P&gt;&lt;P&gt;In the sdk pro concepts it has an example to cut still&amp;nbsp;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing&lt;/A&gt;.&amp;nbsp; Will this example still work in 2.3 +.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-top: 0px; margin-bottom: 16px;"&gt;The second example shows Clip, Cut, and Planarize edits on a single feature also combined into a single edit operation:&lt;/P&gt;&lt;DIV class="" style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;   &lt;SPAN class="comment token"&gt;//Multiple operations can be performed by a single&lt;/SPAN&gt;
   &lt;SPAN class="comment token"&gt;//edit operation.&lt;/SPAN&gt;
   &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; op &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;EditOperation&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
   op&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Clip, Cut, and Planarize Features"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

   &lt;SPAN class="comment token"&gt;//Combine three operations, one after the other...&lt;/SPAN&gt;
   op&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Clip&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;featureLayer&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; oid&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; clipPoly&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
   op&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Cut&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;featureLayer&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; oid&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cutLine&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
   op&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Planarize&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;featureLayer&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;List&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;long&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt; oid&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

   &lt;SPAN class="comment token"&gt;//Execute them all together&lt;/SPAN&gt;
   &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; op&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ExecuteAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

   &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;op&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IsSucceeded&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
     &lt;SPAN class="comment token"&gt;//TODO: get the op.ErrorMessage, inform the user&lt;/SPAN&gt;
   &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:53:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871314#M5199</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2021-12-12T10:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ability to split polygon features with ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871315#M5200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthew,&lt;/P&gt;&lt;P&gt;The Cut methods will work in 2.3+ until we can make a breaking change to the API and remove them at 3.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find examples for the newer Split methods at:&lt;/P&gt;&lt;P&gt;2.3&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Editing/c7390062341b3af98291c61a8d5846be1fad90fe"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Editing/c7390062341b3af98291c61a8d5846be1fad90fe&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2.4&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Editing"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Editing&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 17:03:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/ability-to-split-polygon-features-with-arcgis-pro/m-p/871315#M5200</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-07-23T17:03:49Z</dc:date>
    </item>
  </channel>
</rss>

