<?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 Issue with Arcade and ArcGIS Dashboard Intersects in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/issue-with-arcade-and-arcgis-dashboard-intersects/m-p/1100513#M42251</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to aggregate the number of public projects in a given polygon but I run into the following error:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN class=""&gt;Execution Error:&lt;/SPAN&gt;Spatial Relation cannot accept this parameter type&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;My Arcade expression for my indicator is set to:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var lahub = Portal("&lt;A href="https://www.arcgis.com/" target="_blank" rel="noopener"&gt;https://www.arcgis.com/&lt;/A&gt;");&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var pointitems = FeatureSetByPortalItem( lahub, "7c5389b0d60c4b12af97c8b3558bd18a", 0, ["*"], True );&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var lineitems = FeatureSetByPortalItem( lahub, 'a859591539c644858bff8c648181923a', 0, ["*"], true );&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var cds = FeatureSetByPortalItem( lahub, '76104f230e384f38871eb3c4782f903d', 0, ["*"], true );&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var countPoints = Count(Intersects(pointitems,cds))&lt;BR /&gt;//var countLines = Count(Intersects(lineitems,cds))&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;//return countPoints + countLines&lt;/P&gt;&lt;P&gt;I'm trying to aggregate lineitems and pointitems by cds and return a featureset of cds.&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PrestonMills_0-1632252567223.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23556i3BC56EFBF6B362E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PrestonMills_0-1632252567223.png" alt="PrestonMills_0-1632252567223.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 21 Sep 2021 19:30:27 GMT</pubDate>
    <dc:creator>PrestonMills</dc:creator>
    <dc:date>2021-09-21T19:30:27Z</dc:date>
    <item>
      <title>Issue with Arcade and ArcGIS Dashboard Intersects</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/issue-with-arcade-and-arcgis-dashboard-intersects/m-p/1100513#M42251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to aggregate the number of public projects in a given polygon but I run into the following error:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN class=""&gt;Execution Error:&lt;/SPAN&gt;Spatial Relation cannot accept this parameter type&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;My Arcade expression for my indicator is set to:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var lahub = Portal("&lt;A href="https://www.arcgis.com/" target="_blank" rel="noopener"&gt;https://www.arcgis.com/&lt;/A&gt;");&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var pointitems = FeatureSetByPortalItem( lahub, "7c5389b0d60c4b12af97c8b3558bd18a", 0, ["*"], True );&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var lineitems = FeatureSetByPortalItem( lahub, 'a859591539c644858bff8c648181923a', 0, ["*"], true );&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var cds = FeatureSetByPortalItem( lahub, '76104f230e384f38871eb3c4782f903d', 0, ["*"], true );&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var countPoints = Count(Intersects(pointitems,cds))&lt;BR /&gt;//var countLines = Count(Intersects(lineitems,cds))&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;//return countPoints + countLines&lt;/P&gt;&lt;P&gt;I'm trying to aggregate lineitems and pointitems by cds and return a featureset of cds.&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PrestonMills_0-1632252567223.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23556i3BC56EFBF6B362E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PrestonMills_0-1632252567223.png" alt="PrestonMills_0-1632252567223.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Sep 2021 19:30:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/issue-with-arcade-and-arcgis-dashboard-intersects/m-p/1100513#M42251</guid>
      <dc:creator>PrestonMills</dc:creator>
      <dc:date>2021-09-21T19:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Arcade and ArcGIS Dashboard Intersects</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/issue-with-arcade-and-arcgis-dashboard-intersects/m-p/1100560#M42253</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/arcade-expression-to-count-points-intersecting/td-p/1030084" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/arcade-expression-to-count-points-intersecting/td-p/1030084&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 21:14:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/issue-with-arcade-and-arcgis-dashboard-intersects/m-p/1100560#M42253</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-09-21T21:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Arcade and ArcGIS Dashboard Intersects</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/issue-with-arcade-and-arcgis-dashboard-intersects/m-p/1579613#M63343</link>
      <description>&lt;P&gt;Hey, did you able to figure out the issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 17:45:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/issue-with-arcade-and-arcgis-dashboard-intersects/m-p/1579613#M63343</guid>
      <dc:creator>MdShahNaimHredoy</dc:creator>
      <dc:date>2025-01-28T17:45:15Z</dc:date>
    </item>
  </channel>
</rss>

