<?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 Return any intersecting values from multiple intersecting layers in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/return-any-intersecting-values-from-multiple/m-p/1339850#M55199</link>
    <description>&lt;P&gt;I have two layers I am intersecting with another third layer. I want to return any intersecting features from the two layers when the third layer is clicked. How can I achieve this? The current expression only returns intersecting values from the landslide layer and none from the flood layer even when an intersection is present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var floodZone = FeatureSetByName($map, "SMMAR - FEMA Flood Zones");
var floodZonefeature = First(Intersects(floodZone, $feature));

var landslide = FeatureSetByName($map, "SMMAR - Landslide Area");
var landslideFeature = First(Intersects(landslide, $feature));

return landslideFeature["CA_MAP_LEGEND"] + ", " + floodZonefeature["TYPE"];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2023 23:04:58 GMT</pubDate>
    <dc:creator>BrandonPrice1</dc:creator>
    <dc:date>2023-10-19T23:04:58Z</dc:date>
    <item>
      <title>Return any intersecting values from multiple intersecting layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/return-any-intersecting-values-from-multiple/m-p/1339850#M55199</link>
      <description>&lt;P&gt;I have two layers I am intersecting with another third layer. I want to return any intersecting features from the two layers when the third layer is clicked. How can I achieve this? The current expression only returns intersecting values from the landslide layer and none from the flood layer even when an intersection is present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var floodZone = FeatureSetByName($map, "SMMAR - FEMA Flood Zones");
var floodZonefeature = First(Intersects(floodZone, $feature));

var landslide = FeatureSetByName($map, "SMMAR - Landslide Area");
var landslideFeature = First(Intersects(landslide, $feature));

return landslideFeature["CA_MAP_LEGEND"] + ", " + floodZonefeature["TYPE"];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 23:04:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/return-any-intersecting-values-from-multiple/m-p/1339850#M55199</guid>
      <dc:creator>BrandonPrice1</dc:creator>
      <dc:date>2023-10-19T23:04:58Z</dc:date>
    </item>
  </channel>
</rss>

