<?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: Convex Hull / Minimum Bounding / Envelope, etc... in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convex-hull-minimum-bounding-envelope-etc/m-p/1306822#M81646</link>
    <description>&lt;P&gt;Try creating a single mutipoint geometry from your points, then use the&amp;nbsp;&lt;SPAN&gt;geometryService.ConvexHull method.&amp;nbsp; Maybe that will work.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jul 2023 15:07:06 GMT</pubDate>
    <dc:creator>mleahy_cl</dc:creator>
    <dc:date>2023-07-09T15:07:06Z</dc:date>
    <item>
      <title>Convex Hull / Minimum Bounding / Envelope, etc...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convex-hull-minimum-bounding-envelope-etc/m-p/1306770#M81642</link>
      <description>&lt;P&gt;I read in a JSON with multiple points. I want to create a polygon that contains all the points.&lt;/P&gt;&lt;P&gt;Seems there was a way to do this JS 3.X, &lt;A href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=util_convexhull" target="_blank"&gt;https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=util_convexhull&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I cannot find out how to do it 4.x&lt;/P&gt;&lt;P&gt;I don't want the map extent; the area is too large.&lt;/P&gt;&lt;P&gt;I've tried to do the extent of a Graphics Layer after adding the points, it defaults to +-180 / +-90.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was trying to do the geometryService.ConvexHull and could not figure out how to properly insert the point geometries.&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2023 18:36:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convex-hull-minimum-bounding-envelope-etc/m-p/1306770#M81642</guid>
      <dc:creator>MarkLittell</dc:creator>
      <dc:date>2023-07-08T18:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Convex Hull / Minimum Bounding / Envelope, etc...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convex-hull-minimum-bounding-envelope-etc/m-p/1306822#M81646</link>
      <description>&lt;P&gt;Try creating a single mutipoint geometry from your points, then use the&amp;nbsp;&lt;SPAN&gt;geometryService.ConvexHull method.&amp;nbsp; Maybe that will work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 15:07:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convex-hull-minimum-bounding-envelope-etc/m-p/1306822#M81646</guid>
      <dc:creator>mleahy_cl</dc:creator>
      <dc:date>2023-07-09T15:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convex Hull / Minimum Bounding / Envelope, etc...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convex-hull-minimum-bounding-envelope-etc/m-p/1307459#M81663</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do it several different ways.&lt;/P&gt;&lt;P&gt;You can do it using &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-geometryService.html#convexHull" target="_self"&gt;geometryService.convexHull&lt;/A&gt; as mentioned above but it is requires a trip to a server.&lt;/P&gt;&lt;P&gt;You can use &lt;A href="http:// https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngineAsync.html#convexHull" target="_self"&gt;geometryEngineAsync.convexHull()&lt;/A&gt; method and the calculation will run on the client-side without having to go back to the server. &amp;nbsp;I created a &lt;A href="https://codepen.io/U_B_U/pen/WNYdjej?editors=1000" target="_self"&gt;simple codepen&lt;/A&gt; to showcase how to use geometryEngineAsync's convexHull method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are working with ArcGIS Online hosted feature service then you can take advantage of &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-StatisticDefinition.html#statisticType" target="_self"&gt;convex-hull-aggregrate&lt;/A&gt; statistics with query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 22:55:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convex-hull-minimum-bounding-envelope-etc/m-p/1307459#M81663</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-07-11T22:55:23Z</dc:date>
    </item>
  </channel>
</rss>

