<?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 Intersect Two FeatureSets in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/intersect-two-featuresets/m-p/1255124#M7307</link>
    <description>&lt;P&gt;I would like to be able to find the Features in one FeatureSet that Intersect the Features in another FeatureSet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var fs = FeatureSetByPortalItem(Portal('&lt;A href="https://www.arcgis.com" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;'), '2dfsafas62fbd15', 1, ['*'], true);&lt;BR /&gt;var i = FeatureSetByPortalItem(Portal('&lt;A href="https://www.arcgis.com" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;'), '5c81afa1a04d438a9316dada1', 1, ['*'], true);&lt;BR /&gt;var intersectLayer = Intersects(i,f);&lt;BR /&gt;return intersectLayer;&lt;/P&gt;&lt;P&gt;I am obviously missing something as the above doesn't work.&lt;/P&gt;&lt;P&gt;Let me know what I am doing wrong here.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mele&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 04 Feb 2023 18:24:45 GMT</pubDate>
    <dc:creator>MeleKoneya</dc:creator>
    <dc:date>2023-02-04T18:24:45Z</dc:date>
    <item>
      <title>Intersect Two FeatureSets</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/intersect-two-featuresets/m-p/1255124#M7307</link>
      <description>&lt;P&gt;I would like to be able to find the Features in one FeatureSet that Intersect the Features in another FeatureSet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var fs = FeatureSetByPortalItem(Portal('&lt;A href="https://www.arcgis.com" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;'), '2dfsafas62fbd15', 1, ['*'], true);&lt;BR /&gt;var i = FeatureSetByPortalItem(Portal('&lt;A href="https://www.arcgis.com" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;'), '5c81afa1a04d438a9316dada1', 1, ['*'], true);&lt;BR /&gt;var intersectLayer = Intersects(i,f);&lt;BR /&gt;return intersectLayer;&lt;/P&gt;&lt;P&gt;I am obviously missing something as the above doesn't work.&lt;/P&gt;&lt;P&gt;Let me know what I am doing wrong here.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mele&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 18:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/intersect-two-featuresets/m-p/1255124#M7307</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2023-02-04T18:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect Two FeatureSets</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/intersect-two-featuresets/m-p/1255130#M7308</link>
      <description>&lt;P&gt;I think this will work for what I needed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// Samples: &lt;A href="https://arcg.is/38SEWWz" target="_blank"&gt;https://arcg.is/38SEWWz&lt;/A&gt;&lt;BR /&gt;var fs = FeatureSetByPortalItem(Portal('&lt;A href="https://www.arcgis.com" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;'), '22c15bddfadf42f262fbd15', 1, ['*'], true);&lt;BR /&gt;var i = FeatureSetByPortalItem(Portal('&lt;A href="https://www.arcgis.com" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;'), 'asdasdfafasdf', 0, ['*'], true);&lt;BR /&gt;for (var f in i)&lt;BR /&gt;{&lt;BR /&gt;var is = Intersects(f, fs);&lt;BR /&gt;}&lt;BR /&gt;return is;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 19:12:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/intersect-two-featuresets/m-p/1255130#M7308</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2023-02-04T19:12:05Z</dc:date>
    </item>
  </channel>
</rss>

