<?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: Geometry Engine cut cutting into multiple wrong fragments in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-cutting-into-multiple-wrong/m-p/1353712#M82932</link>
    <description>&lt;P&gt;I suggest reaching out to Esri support if you suspect this is a bug. They will attempt to reproduce the issue independently then log a bug so the dev team can take a look at it.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2023 19:37:42 GMT</pubDate>
    <dc:creator>KristianEkenes</dc:creator>
    <dc:date>2023-11-27T19:37:42Z</dc:date>
    <item>
      <title>Geometry Engine cut cutting into multiple wrong fragments</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-cutting-into-multiple-wrong/m-p/1352438#M82871</link>
      <description>&lt;P&gt;I am trying to cut a Polyline feature/graphic with a Polyline geometry using the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#cut" target="_self"&gt;geometryEngine.cut&lt;/A&gt; method of the ArcGIS Maps SDK for JavaScript. The problem is that the cut method splits the segments into multiple wrong fragments.&lt;/P&gt;&lt;P&gt;This is how the feature looks before splitting. The orange polyline is the cutter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/86845i1769560A26E1A24B/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The cut returns three fragments&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/86846i59581E7E2C91A100/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/86847i8372EAC84E153A68/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/86848i0A35F9922E151809/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;See that the last fragment is on both sides of the cutting polyline, which is wrong.&lt;/P&gt;&lt;P&gt;I am using v4.28 of JS SDK.&lt;/P&gt;&lt;P&gt;A reproducible Code Pen for the above is at&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/haseebanwar/pen/dyaebrj" target="_blank"&gt;https://codepen.io/haseebanwar/pen/dyaebrj&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In Code Pen, use the line tool (on top-left) and then draw a line on the segment to split. The split segments are logged in the console.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 09:20:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-cutting-into-multiple-wrong/m-p/1352438#M82871</guid>
      <dc:creator>HaseebAnwar</dc:creator>
      <dc:date>2023-11-22T09:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry Engine cut cutting into multiple wrong fragments</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-cutting-into-multiple-wrong/m-p/1353712#M82932</link>
      <description>&lt;P&gt;I suggest reaching out to Esri support if you suspect this is a bug. They will attempt to reproduce the issue independently then log a bug so the dev team can take a look at it.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 19:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-cutting-into-multiple-wrong/m-p/1353712#M82932</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2023-11-27T19:37:42Z</dc:date>
    </item>
  </channel>
</rss>

