<?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: count feature inside arbitratry polygon in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/count-feature-inside-arbitratry-polygon/m-p/1504613#M85017</link>
    <description>&lt;P&gt;Where in the codes i should insert these "view.openpopup" lines .. thanks&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2024 06:20:30 GMT</pubDate>
    <dc:creator>yockee</dc:creator>
    <dc:date>2024-07-12T06:20:30Z</dc:date>
    <item>
      <title>count feature inside arbitratry polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/count-feature-inside-arbitratry-polygon/m-p/1503987#M85009</link>
      <description>&lt;P&gt;I want to make a simple webgis apps using JS where I can select some points using arbitrary polygon. Once polygon is drawn, there is a popup showing how many points fall inside it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further more, I need to be able to pass this count into another app.&lt;/P&gt;&lt;P&gt;I have prepared:&lt;/P&gt;&lt;P&gt;- 2 Feature services, one being polygon and the other on point&lt;/P&gt;&lt;P&gt;Can anyone show me some directions ? What spatial analysis is needed for this ? Possibly intersect right ?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 06:43:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/count-feature-inside-arbitratry-polygon/m-p/1503987#M85009</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2024-07-11T06:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: count feature inside arbitratry polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/count-feature-inside-arbitratry-polygon/m-p/1504200#M85013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/116349"&gt;@yockee&lt;/a&gt;&amp;nbsp;- check out this sample&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/" target="_self"&gt;Select features by rectangle&lt;/A&gt;. It allows you to draw a polygon on the map, and then query for features that intersect that polygon by setting the query's &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#geometry" target="_self"&gt;geometry&lt;/A&gt;&amp;nbsp;property.&lt;/P&gt;&lt;P&gt;Once you get the resulting featureSet from the query, you can open the popup like so:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;view.openPopup({
  location: point, // point geometry for where you want the popup to open
  features: queryResults.features // features returned from the query
});&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Jul 2024 15:03:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/count-feature-inside-arbitratry-polygon/m-p/1504200#M85013</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2024-07-11T15:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: count feature inside arbitratry polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/count-feature-inside-arbitratry-polygon/m-p/1504613#M85017</link>
      <description>&lt;P&gt;Where in the codes i should insert these "view.openpopup" lines .. thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 06:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/count-feature-inside-arbitratry-polygon/m-p/1504613#M85017</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2024-07-12T06:20:30Z</dc:date>
    </item>
  </channel>
</rss>

