<?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 generates wrong results in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-generates-wrong-results/m-p/1144382#M76368</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BITDeveloperNickSwartz_0-1644965689806.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34034i175A04451C207C93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BITDeveloperNickSwartz_0-1644965689806.png" alt="BITDeveloperNickSwartz_0-1644965689806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Solved this issue by creating polygons using the extent of the screen and the extent of the polyline feature i was trying to cut.&amp;nbsp; That way I was able to use the more reliable "clip" tool in the geometry Engine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 22:55:47 GMT</pubDate>
    <dc:creator>BITDeveloperNickSwartz</dc:creator>
    <dc:date>2022-02-15T22:55:47Z</dc:date>
    <item>
      <title>Geometry Engine Cut generates wrong results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-generates-wrong-results/m-p/1143677#M76333</link>
      <description>&lt;P&gt;I am trying to cut a highway according to the extent of the screen.&amp;nbsp; The following screenshot is a visualization of the cut boundary (vertical dark green line), and the resultant geometry after the "cut" operation&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BITDeveloperNickSwartz_0-1644857047500.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/33848iBB2B717F3C32AAFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BITDeveloperNickSwartz_0-1644857047500.png" alt="BITDeveloperNickSwartz_0-1644857047500.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see it creates an array of three geometries (index 0 is the black line, which according to the documentation should be to the left of the vertical line.&amp;nbsp; The light green line somehow spans either side of the cut line.&amp;nbsp; Then there is a section that touches the cut line.&amp;nbsp; Not sure what's going on here.&amp;nbsp; I might try to tackle this issue a different way.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 16:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-generates-wrong-results/m-p/1143677#M76333</guid>
      <dc:creator>BITDeveloperNickSwartz</dc:creator>
      <dc:date>2022-02-14T16:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry Engine Cut generates wrong results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-generates-wrong-results/m-p/1143753#M76337</link>
      <description>&lt;P&gt;Can you share a code pen with just the geometries involved in this image? That way I can take a closer look at what might be going on.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 18:23:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-generates-wrong-results/m-p/1143753#M76337</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2022-02-14T18:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry Engine Cut generates wrong results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-generates-wrong-results/m-p/1143779#M76340</link>
      <description>&lt;P&gt;Unfortunately I don't think that's an option.&amp;nbsp; I could try to develop some pared down snippet, but this comes from a very large/complicated app that works on secured services.&amp;nbsp; Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 19:19:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-generates-wrong-results/m-p/1143779#M76340</guid>
      <dc:creator>BITDeveloperNickSwartz</dc:creator>
      <dc:date>2022-02-14T19:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry Engine Cut generates wrong results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-generates-wrong-results/m-p/1144382#M76368</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BITDeveloperNickSwartz_0-1644965689806.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34034i175A04451C207C93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BITDeveloperNickSwartz_0-1644965689806.png" alt="BITDeveloperNickSwartz_0-1644965689806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Solved this issue by creating polygons using the extent of the screen and the extent of the polyline feature i was trying to cut.&amp;nbsp; That way I was able to use the more reliable "clip" tool in the geometry Engine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 22:55:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-engine-cut-generates-wrong-results/m-p/1144382#M76368</guid>
      <dc:creator>BITDeveloperNickSwartz</dc:creator>
      <dc:date>2022-02-15T22:55:47Z</dc:date>
    </item>
  </channel>
</rss>

