<?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 Wrong values when intersecting ArcGIS Indoors layers in ArcGIS Indoors Questions</title>
    <link>https://community.esri.com/t5/arcgis-indoors-questions/wrong-values-when-intersecting-arcgis-indoors/m-p/1340984#M591</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to make an asset collection field map and am running into some issues trying to auto-populate the Room Number the asset is located in.&lt;/P&gt;&lt;P&gt;I am using this one code line below to load the Units indoor layer and return the room number of the first row that intersects the newly placed feature.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return First(Intersects(FeatureSetByName($map, "Units", ["NAME"]), $feature)).NAME&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The issue I am running into is that this will return room numbers from rooms that have been filtered out in the Floor Filter. Basically, if I am filtered to level 2 of a specific building, and place a new point in a room, it will auto-populate the room number of a room on level 1 instead of level 2.&lt;/P&gt;&lt;P&gt;I am not sure if I am just missing something or if this is working as intended. How would I go about getting the correct room number?&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2023 16:17:07 GMT</pubDate>
    <dc:creator>KevinDohner</dc:creator>
    <dc:date>2023-10-24T16:17:07Z</dc:date>
    <item>
      <title>Wrong values when intersecting ArcGIS Indoors layers</title>
      <link>https://community.esri.com/t5/arcgis-indoors-questions/wrong-values-when-intersecting-arcgis-indoors/m-p/1340984#M591</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to make an asset collection field map and am running into some issues trying to auto-populate the Room Number the asset is located in.&lt;/P&gt;&lt;P&gt;I am using this one code line below to load the Units indoor layer and return the room number of the first row that intersects the newly placed feature.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return First(Intersects(FeatureSetByName($map, "Units", ["NAME"]), $feature)).NAME&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The issue I am running into is that this will return room numbers from rooms that have been filtered out in the Floor Filter. Basically, if I am filtered to level 2 of a specific building, and place a new point in a room, it will auto-populate the room number of a room on level 1 instead of level 2.&lt;/P&gt;&lt;P&gt;I am not sure if I am just missing something or if this is working as intended. How would I go about getting the correct room number?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 16:17:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-indoors-questions/wrong-values-when-intersecting-arcgis-indoors/m-p/1340984#M591</guid>
      <dc:creator>KevinDohner</dc:creator>
      <dc:date>2023-10-24T16:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong values when intersecting ArcGIS Indoors layers</title>
      <link>https://community.esri.com/t5/arcgis-indoors-questions/wrong-values-when-intersecting-arcgis-indoors/m-p/1340988#M592</link>
      <description>&lt;P&gt;I make the user select the floor level and then use that to query out the intersecting room with the matching floor level. I have a domain setup with valid floor levels so that they can't input an incorrect floor level.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 16:25:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-indoors-questions/wrong-values-when-intersecting-arcgis-indoors/m-p/1340988#M592</guid>
      <dc:creator>KadeSmith</dc:creator>
      <dc:date>2023-10-24T16:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong values when intersecting ArcGIS Indoors layers</title>
      <link>https://community.esri.com/t5/arcgis-indoors-questions/wrong-values-when-intersecting-arcgis-indoors/m-p/1341048#M593</link>
      <description>&lt;P&gt;I hadn't thought about that. I was hoping that since the floor filtering was already filtering the layers that it would be a bit more straight forward and wouldn't require any input by the user.&lt;/P&gt;&lt;P&gt;I didn't do exactly what you proposed but I did take that logic and come up with a workaround. I know that field maps auto-populates the "Level_ID" so I used the Level_ID to filter the features and got it to work. Thank you for the suggestion and putting me on the right path.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 17:55:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-indoors-questions/wrong-values-when-intersecting-arcgis-indoors/m-p/1341048#M593</guid>
      <dc:creator>KevinDohner</dc:creator>
      <dc:date>2023-10-24T17:55:39Z</dc:date>
    </item>
  </channel>
</rss>

