<?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: Dissolve javascript api 4.x in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dissolve-javascript-api-4-x/m-p/278788#M25719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this create one feature, in ArcMap is does not.....&lt;/P&gt;&lt;P&gt;Are there any examples?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Graphics layer with a few graphics in it&lt;/P&gt;&lt;P&gt;I want to union this and write a single feature to another graphics layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #aa0d91; font-weight: bold;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt; union = geometryEngine.union( graphicsLayer1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;graphicsLayer2.addMany(union);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2020 13:06:57 GMT</pubDate>
    <dc:creator>jaykapalczynski</dc:creator>
    <dc:date>2020-04-21T13:06:57Z</dc:date>
    <item>
      <title>Dissolve javascript api 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dissolve-javascript-api-4-x/m-p/278786#M25717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you do a dissolve on a Graphics Layer in ArcGIS JavaScript API 4.x.&lt;/P&gt;&lt;P&gt;I see reference to this in 3.x but not 4.x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In JavaScript 4.14 I am selecting a specific number of features from a Feature Layer and writing them to a Graphics Layer.&amp;nbsp; I now want to dissolve them to a multi-part polygon so I can update a Feature Class Geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I do this with the API or do I need to do this with a Python Published GP Tool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 23:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dissolve-javascript-api-4-x/m-p/278786#M25717</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2020-04-20T23:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve javascript api 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dissolve-javascript-api-4-x/m-p/278787#M25718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The method you are looking for is union on the GeometryService class&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-GeometryService.html#union" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-GeometryService.html#union"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-GeometryService.html#union&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or the GeometryEngine (if you want to do this clientside)&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#union" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#union"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#union&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 12:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dissolve-javascript-api-4-x/m-p/278787#M25718</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-04-21T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve javascript api 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dissolve-javascript-api-4-x/m-p/278788#M25719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this create one feature, in ArcMap is does not.....&lt;/P&gt;&lt;P&gt;Are there any examples?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Graphics layer with a few graphics in it&lt;/P&gt;&lt;P&gt;I want to union this and write a single feature to another graphics layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #aa0d91; font-weight: bold;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt; union = geometryEngine.union( graphicsLayer1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;graphicsLayer2.addMany(union);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 13:06:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dissolve-javascript-api-4-x/m-p/278788#M25719</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2020-04-21T13:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve javascript api 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dissolve-javascript-api-4-x/m-p/278789#M25720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; In ArcGIS Server Union is&amp;nbsp;similar to&amp;nbsp; dissolve.&lt;/P&gt;&lt;P&gt;An example code follows:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; Geoms &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; graphicsLayer1&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;graphics&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;map&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;gra&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; gra&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;geometry&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="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; union &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; geometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;union&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Geoms&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
graphicsLayer2&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;union&lt;SPAN class="punctuation token"&gt;)&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dissolve-javascript-api-4-x/m-p/278789#M25720</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T13:34:14Z</dc:date>
    </item>
  </channel>
</rss>

