<?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: How can I Split A polygon and  how can I merge serveral polygon in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599472#M56054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Bart Smit：&lt;/P&gt;&lt;P&gt; Also thanks to you。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Aug 2014 08:22:34 GMT</pubDate>
    <dc:creator>xiaoyunnsongb</dc:creator>
    <dc:date>2014-08-13T08:22:34Z</dc:date>
    <item>
      <title>How can I Split A polygon and  how can I merge serveral polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599468#M56050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear superiors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now I have a question to request ,please lost several minutes.&lt;/P&gt;&lt;P&gt;Q1: How can i split a polygon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; now&amp;nbsp;&amp;nbsp; there is a polygon A,when i draw a line, then the polygon split to two (A1,A2).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="A.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/3295_A.jpg" style="width: 620px; height: 462px;" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pic one&lt;/P&gt;&lt;P&gt;&lt;IMG alt="B.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/3353_B.png" style="width: 620px; height: 423px;" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pic two&lt;/P&gt;&lt;P&gt;Q2:How can i merge serveral polygon to one&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; now&amp;nbsp; there is two&amp;nbsp; or more than two polygons next (A1,A2) ,when I&amp;nbsp; press Ctrl key ,then&amp;nbsp; the polygons all be choiced ,how&amp;nbsp; can I merge then to one(A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like the picture up&amp;nbsp; pic two ------&amp;gt; pic one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 09:18:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599468#M56050</guid>
      <dc:creator>xiaoyunnsongb</dc:creator>
      <dc:date>2014-08-12T09:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Split A polygon and  how can I merge serveral polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599469#M56051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there should be a 'merge' option in the menu on your editor toolbar. Make sure you have only features selected from the same layer otherwise the merge will not work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 09:21:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599469#M56051</guid>
      <dc:creator>BartSmit</dc:creator>
      <dc:date>2014-08-12T09:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Split A polygon and  how can I merge serveral polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599470#M56052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="str" style="color: #999999;"&gt;Dear Mr Bart Smit:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="str" style="color: #999999;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="str" style="color: #999999;"&gt;&amp;nbsp; Is it&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #999999;"&gt;esri/dijit/editing/Editor? Yes in a&amp;nbsp; layer, How can i split the polygon?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Best wishes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 09:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599470#M56052</guid>
      <dc:creator>xiaoyunnsongb</dc:creator>
      <dc:date>2014-08-12T09:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Split A polygon and  how can I merge serveral polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599471#M56053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hhm, I'm afraid I spoke too soon. I can't find any code that has merge/split. All I can find is vertex/move/snap etc .. It might have been a geoprocessing service that offered that functionality. Or it might not have been esri stuff.. I can't recall the example. I'm sorry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 09:47:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599471#M56053</guid>
      <dc:creator>BartSmit</dc:creator>
      <dc:date>2014-08-12T09:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Split A polygon and  how can I merge serveral polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599472#M56054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Bart Smit：&lt;/P&gt;&lt;P&gt; Also thanks to you。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 08:22:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599472#M56054</guid>
      <dc:creator>xiaoyunnsongb</dc:creator>
      <dc:date>2014-08-13T08:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Split A polygon and  how can I merge serveral polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599473#M56055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Superiors：&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; My&amp;nbsp; function is&amp;nbsp; in javascript Of html ，not desktop， thanks very much。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 08:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599473#M56055</guid>
      <dc:creator>xiaoyunnsongb</dc:creator>
      <dc:date>2014-08-13T08:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Split A polygon and  how can I merge serveral polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599474#M56056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use the cut polygon tool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 08:36:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599474#M56056</guid>
      <dc:creator>MonyrothLy</dc:creator>
      <dc:date>2014-08-13T08:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Split A polygon and  how can I merge serveral polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599475#M56057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;STRONG style="font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="https://community.esri.com/people/monyrothly"&gt;monyrothly&lt;/A&gt;：&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks very much. But&amp;nbsp; I still&amp;nbsp; not&amp;nbsp; understand, Can you give the&amp;nbsp; component&amp;nbsp; in esri,&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 18px; font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;STRONG&gt;Wish&amp;nbsp; you happy every day.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 08:50:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599475#M56057</guid>
      <dc:creator>xiaoyunnsongb</dc:creator>
      <dc:date>2014-08-13T08:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Split A polygon and  how can I merge serveral polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599476#M56058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need the geometryService:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/geometryservice-amd.html" title="https://developers.arcgis.com/javascript/jsapi/geometryservice-amd.html"&gt;geometryservice-amd | API Reference | ArcGIS API for JavaScript&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will get you geometries and you can update/create your features for saving as required. Here's how I've done this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split:&lt;/P&gt;&lt;P&gt;- Start with a selected polygon (know what you're splitting)&lt;/P&gt;&lt;P&gt;- Use the draw toolbar to get a line (onDrawEnd Event)&lt;/P&gt;&lt;P&gt;- I use the GeometryService-&amp;gt;trimExtend to make sure the line will cut completely&lt;/P&gt;&lt;P&gt;- Use geometryService-&amp;gt;cut([selectedPoly], newLine, ...) to get two new polys&lt;/P&gt;&lt;P&gt;- save the new polys (add two new and delete old, or whatever works for your data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merge&lt;/P&gt;&lt;P&gt;- Select multiple polygons&lt;/P&gt;&lt;P&gt;- geometryService-&amp;gt;union([selectedPolys]) to get one poly&lt;/P&gt;&lt;P&gt;- save the new poly (delete the old, add new, etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't touched on managing the attributes, but that shouldn't be bad once you have the geometries:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 17:49:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-split-a-polygon-and-how-can-i-merge/m-p/599476#M56058</guid>
      <dc:creator>JoshHevenor</dc:creator>
      <dc:date>2014-08-13T17:49:33Z</dc:date>
    </item>
  </channel>
</rss>

