<?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 Intersects Showing Different Values between Webmap and Field Maps App in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-intersects-showing-different-values-between/m-p/1156585#M45031</link>
    <description>&lt;P&gt;I have an Arcade expression that identifies the zip code that intersects a point of interest (poi).&amp;nbsp; It returns the expected zip code values when clicking on the poi in a webmap, however, when clicking on the same poi in the Field Maps mobile app, it returns a value that is more than two thousand miles away.&lt;/P&gt;&lt;P&gt;Here is my simple Intersects expression:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;var p = $feature;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;var zip = FeatureSetByName($map,"USA ZIP Code Areas");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;var intLayer = Intersects(zip,p);&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;for (var f in intLayer){&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;return f.ZIP_CODE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I am working with Portal for ArcGIS (v10.9).&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;var P is a feature service on the enterprise portal.&lt;/LI&gt;&lt;LI&gt;var zip is a hosted layer pulled from the Living Atlas.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;See attached screenshot showing the same poi with different results from the arcade expression between the webmap and mobile app.&lt;/P&gt;&lt;P&gt;Has anyone seen this type of behavior before and have any ideas what is happening?&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 11:41:25 GMT</pubDate>
    <dc:creator>TroyGray</dc:creator>
    <dc:date>2022-03-23T11:41:25Z</dc:date>
    <item>
      <title>Arcade Intersects Showing Different Values between Webmap and Field Maps App</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-intersects-showing-different-values-between/m-p/1156585#M45031</link>
      <description>&lt;P&gt;I have an Arcade expression that identifies the zip code that intersects a point of interest (poi).&amp;nbsp; It returns the expected zip code values when clicking on the poi in a webmap, however, when clicking on the same poi in the Field Maps mobile app, it returns a value that is more than two thousand miles away.&lt;/P&gt;&lt;P&gt;Here is my simple Intersects expression:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;var p = $feature;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;var zip = FeatureSetByName($map,"USA ZIP Code Areas");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;var intLayer = Intersects(zip,p);&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;for (var f in intLayer){&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;return f.ZIP_CODE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I am working with Portal for ArcGIS (v10.9).&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;var P is a feature service on the enterprise portal.&lt;/LI&gt;&lt;LI&gt;var zip is a hosted layer pulled from the Living Atlas.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;See attached screenshot showing the same poi with different results from the arcade expression between the webmap and mobile app.&lt;/P&gt;&lt;P&gt;Has anyone seen this type of behavior before and have any ideas what is happening?&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 11:41:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-intersects-showing-different-values-between/m-p/1156585#M45031</guid>
      <dc:creator>TroyGray</dc:creator>
      <dc:date>2022-03-23T11:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Intersects Showing Different Values between Webmap and Field Maps App</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-intersects-showing-different-values-between/m-p/1156597#M45033</link>
      <description>&lt;P&gt;Wow! I've seen slight differences with Intersect, but nothing like this. What projection are the two layers in?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-intersects-showing-different-values-between/m-p/1156597#M45033</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-03-23T12:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Intersects Showing Different Values between Webmap and Field Maps App</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-intersects-showing-different-values-between/m-p/1156599#M45034</link>
      <description>&lt;P&gt;Thanks Josh for your reply!&lt;/P&gt;&lt;P&gt;The zip codes layer is from ESRI's Living Atlas and I couldn't find the metadata but I believe it's not projected.&amp;nbsp; The POI layer is "NAD_1983_StatePlane_Indiana_East_FIPS_1301_Feet".&lt;/P&gt;&lt;P&gt;I have tested a similar scenario with two layers in the same projection and get similar results.&amp;nbsp; It works as expected in the webmap, but has completely different values when accessed via the mobile app.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:52:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-intersects-showing-different-values-between/m-p/1156599#M45034</guid>
      <dc:creator>TroyGray</dc:creator>
      <dc:date>2022-03-23T12:52:48Z</dc:date>
    </item>
  </channel>
</rss>

