<?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 Arcade Point Intersect Polygons to symbolize/filter in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075378#M41051</link>
    <description>&lt;P&gt;&lt;STRONG&gt;General Info&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have point rest service layer titled "dams" (National Dam Inventory). It contains the location of dams for every state in the U.S.&lt;/LI&gt;&lt;LI&gt;I have a hosted polygon layer titled "basin". It represents the Savannah River Basin.&lt;/LI&gt;&lt;LI&gt;My ultimate goal is to only show the dams that are within the river basin. I feel like I'm close using my current code but I might be wrong. Is what I'm attempting possible, is my code headed in the right direction, or is there a better way to do this?&lt;/LI&gt;&lt;LI&gt;Please let me know if there is any other information I can provide, kind regards and thanks&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Attempt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1 var intersectLayer =Intersects(FeatureSetByName($map,"basin"), $feature)&lt;BR /&gt;2 for (var f in intersectLayer){&lt;BR /&gt;3 return f.FID&lt;BR /&gt;4 }&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This expression is built on the point data and called "Filter"&lt;/LI&gt;&lt;LI&gt;The basin polygon only has one field (FID) and their is only one shape so the above arcade returns "1" for points inside the polygon and " " (blank) for points outside the polygon. I guess my question is how can I symbolize on this?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rpeters17_0-1625266832141.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17660iBC5BF31CD0129E54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rpeters17_0-1625266832141.png" alt="rpeters17_0-1625266832141.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rpeters17_0-1625266162783.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17659iB9E7868B91D00A0F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rpeters17_0-1625266162783.png" alt="rpeters17_0-1625266162783.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Fri, 02 Jul 2021 23:07:12 GMT</pubDate>
    <dc:creator>rpeters17</dc:creator>
    <dc:date>2021-07-02T23:07:12Z</dc:date>
    <item>
      <title>Arcade Point Intersect Polygons to symbolize/filter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075378#M41051</link>
      <description>&lt;P&gt;&lt;STRONG&gt;General Info&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have point rest service layer titled "dams" (National Dam Inventory). It contains the location of dams for every state in the U.S.&lt;/LI&gt;&lt;LI&gt;I have a hosted polygon layer titled "basin". It represents the Savannah River Basin.&lt;/LI&gt;&lt;LI&gt;My ultimate goal is to only show the dams that are within the river basin. I feel like I'm close using my current code but I might be wrong. Is what I'm attempting possible, is my code headed in the right direction, or is there a better way to do this?&lt;/LI&gt;&lt;LI&gt;Please let me know if there is any other information I can provide, kind regards and thanks&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Attempt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1 var intersectLayer =Intersects(FeatureSetByName($map,"basin"), $feature)&lt;BR /&gt;2 for (var f in intersectLayer){&lt;BR /&gt;3 return f.FID&lt;BR /&gt;4 }&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This expression is built on the point data and called "Filter"&lt;/LI&gt;&lt;LI&gt;The basin polygon only has one field (FID) and their is only one shape so the above arcade returns "1" for points inside the polygon and " " (blank) for points outside the polygon. I guess my question is how can I symbolize on this?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rpeters17_0-1625266832141.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17660iBC5BF31CD0129E54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rpeters17_0-1625266832141.png" alt="rpeters17_0-1625266832141.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rpeters17_0-1625266162783.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17659iB9E7868B91D00A0F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rpeters17_0-1625266162783.png" alt="rpeters17_0-1625266162783.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 02 Jul 2021 23:07:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075378#M41051</guid>
      <dc:creator>rpeters17</dc:creator>
      <dc:date>2021-07-02T23:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Point Intersect Polygons to symbolize/filter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075384#M41052</link>
      <description>&lt;LI-CODE lang="javascript"&gt;Intersection(FeatureSetByName($map,"basin"), $feature)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 03 Jul 2021 00:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075384#M41052</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-07-03T00:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Point Intersect Polygons to symbolize/filter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075399#M41055</link>
      <description>&lt;P&gt;Sorry to rain on your parade, but the &lt;A href="https://developers.arcgis.com/arcade/guide/profiles/#visualization" target="_self"&gt;Visualization Arcade Profile&lt;/A&gt; does not even support accessing other features in the same layer, let alone features in a separate layer in your map. You can &lt;EM&gt;only&lt;/EM&gt; reference a feature's own attributes and the current &lt;STRONG&gt;$view.scale&lt;/STRONG&gt; for visualization.&lt;/P&gt;&lt;P&gt;That's not to say that this isn't possible, however. Do you have ownership or editing rights over the National Dam Inventory layer? There are a couple of ways you might do this, but they rely on either being able to create a view layer or add a new field.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2021 02:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075399#M41055</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-07-03T02:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Point Intersect Polygons to symbolize/filter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075715#M41068</link>
      <description>&lt;P&gt;&amp;nbsp;I'm relatively new to Arcade so I'm not sure what it's limitations are. I was able add the FID# from the basin layer (polygon) to the attribute table of the dams (points) that intersect it using the attribute expression (see image below). At this stage only the the dams that I want to show have the "1" in the "filter" field. I was hoping to use this to have different symbology between the points in and out of the polygon or to filter out the points outside of the polygon altogether. Are you saying this last step is not possible? Unfortunately I don't have ownership/editing rights for the layer.&amp;nbsp;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rpeters17_0-1625527215184.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17755i65B2A6A0B390B7BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rpeters17_0-1625527215184.png" alt="rpeters17_0-1625527215184.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 23:30:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075715#M41068</guid>
      <dc:creator>rpeters17</dc:creator>
      <dc:date>2021-07-05T23:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Point Intersect Polygons to symbolize/filter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075720#M41069</link>
      <description>&lt;P&gt;Just to clarify: is that "Filter" field pictured just coming from a pop-up expression, or is it a real field that was created with Field Calculate or something? When you say that you were able to "add the FID" from the basins, are you referring to the Arcade expression in your original post, or have you actually performed a spatial join?&lt;/P&gt;&lt;P&gt;The symbology settings in a web map can only reference a real field in the table, or an expression. If it's an expression, the expression itself can only reference other attributes in the same row of the table.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 00:57:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075720#M41069</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-07-06T00:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Point Intersect Polygons to symbolize/filter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075728#M41070</link>
      <description>&lt;P&gt;Thanks jcarlson. I see what you're saying now. The "FID" was added using the Arcade expression in the original post. No spatial join or field calculation was done. That's a bummer. I had really hoped that there was a way to spatially filter a web service down to an area of interest without breaking the link to the service.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 01:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-point-intersect-polygons-to-symbolize/m-p/1075728#M41070</guid>
      <dc:creator>rpeters17</dc:creator>
      <dc:date>2021-07-06T01:49:01Z</dc:date>
    </item>
  </channel>
</rss>

