<?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: Create a clip a polyline based on the polygon geometry in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-clip-a-polyline-based-on-the-polygon/m-p/1405214#M84210</link>
    <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#intersect" target="_self"&gt;geometryEngine.intersect&lt;/A&gt; method to get a new geometry from intersection between two geometries. I updated your codepen to show this:&amp;nbsp;&lt;A href="https://codepen.io/U_B_U/pen/jORYZmN?editors=1000" target="_blank"&gt;https://codepen.io/U_B_U/pen/jORYZmN?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 14:35:21 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2024-04-03T14:35:21Z</dc:date>
    <item>
      <title>Create a clip a polyline based on the polygon geometry</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-clip-a-polyline-based-on-the-polygon/m-p/1405084#M84206</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm able to create a horizontal and vertical line to make a grid on top of a polygon based on xmin, ymin, xmax and ymax but it's coming out of the polygon.&lt;BR /&gt;&lt;BR /&gt;How can I make grid restrict with the polygon boundary? Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SaiPeketi_0-1712137115354.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99880iAE9145B6E1A25795/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SaiPeketi_0-1712137115354.png" alt="SaiPeketi_0-1712137115354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please find the code: &lt;A href="https://codepen.io/Andy0206/pen/yLrpXjp?editors=1000" target="_blank"&gt;https://codepen.io/Andy0206/pen/yLrpXjp?editors=1000&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 09:39:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-clip-a-polyline-based-on-the-polygon/m-p/1405084#M84206</guid>
      <dc:creator>SaiPeketi</dc:creator>
      <dc:date>2024-04-03T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a clip a polyline based on the polygon geometry</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-clip-a-polyline-based-on-the-polygon/m-p/1405214#M84210</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#intersect" target="_self"&gt;geometryEngine.intersect&lt;/A&gt; method to get a new geometry from intersection between two geometries. I updated your codepen to show this:&amp;nbsp;&lt;A href="https://codepen.io/U_B_U/pen/jORYZmN?editors=1000" target="_blank"&gt;https://codepen.io/U_B_U/pen/jORYZmN?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 14:35:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-clip-a-polyline-based-on-the-polygon/m-p/1405214#M84210</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2024-04-03T14:35:21Z</dc:date>
    </item>
  </channel>
</rss>

