<?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 Elevation Expression in Web AppBuilder in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-elevation-expression-in-web-appbuilder/m-p/1476590#M59301</link>
    <description>&lt;P&gt;Hello, I manage the field maps and desktop applications for my local municipality and it's important for our engineers and inspectors to be able to view the elevation of our utility points after they've been collected using our R2 Trimble units. I've recently noticed a major discrepancy between the way that Field Maps, Map Viewer (Classic and new), and Web App maps displays my elevation Arcade expression.&lt;/P&gt;&lt;P&gt;The original arcade expression that I was using to display elevation is this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;Ceil&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN&gt;Geometry&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;Z&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;3.28084&lt;/SPAN&gt;&lt;SPAN&gt;)*&lt;/SPAN&gt;&lt;SPAN&gt;3.28084&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I know what you might be thinking: Why multiply the Z value by 3.28084 twice? For some reason (only in ArcGIS online) the elevation only reports in the hundreds and I've found that the Z value needs to be converted twice over. The Z value still reports in meters if I view the same data points in ArcGIS Pro, so it only needs to be converted once in Pro.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;My main question is:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;I noticed that my arcade equation does not report any elevation value in my pop-ups if I try to view data points in an ArcGIS Web App map (see the attached&amp;nbsp;&lt;EM&gt;Pop-up - Web App map.png&lt;/EM&gt;). I originally&lt;SPAN&gt;&amp;nbsp;configured the pop-up expression in the new Map Viewer, and the elevation shows up just fine when I view the pop up in Map Viewer (see the attached &lt;EM&gt;Pop-up - New Map Viewer.png&lt;/EM&gt;).&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I wondered if maybe the pop-up needed to be configured in Map Viewer Classic in order to get it to show up right, but my pop-ups in Map Viewer classic report the same thing as the Web App map- an elevation of 0.00 (see the attached&amp;nbsp;&lt;EM&gt;Pop-up - Map Viewer Classic.png&lt;/EM&gt;).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So naturally, this got me wondering what the elevation looks like in Field Maps and you're not gonna believe this guys, but it gets even more complicated. When viewing the elevation expression in Field Maps, the arcade expression multiplies the Z value in meters, so the elevation reporting in Field Maps is in the 10's of thousands while the same expression above reports the correct elevation in feet when looking at the pop-up in Map Viewer(see the attached &lt;EM&gt;Pop-up - Field Maps.png&lt;/EM&gt;).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So now, I have two separate elevation expressions because the elevation expressions calculate different values depending on if you're looking at the data in Field Maps or in the ArcGIS Online Map viewer. I would prefer not to have two separate expressions, but I don't know how I could possibly create an expression that reports different values based on the application that is being used. Secondly, I still can't get the elevation to show anything other than 0.00 when viewing the data in a Web App.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 21 May 2024 21:43:54 GMT</pubDate>
    <dc:creator>JustB</dc:creator>
    <dc:date>2024-05-21T21:43:54Z</dc:date>
    <item>
      <title>Arcade Elevation Expression in Web AppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-elevation-expression-in-web-appbuilder/m-p/1476590#M59301</link>
      <description>&lt;P&gt;Hello, I manage the field maps and desktop applications for my local municipality and it's important for our engineers and inspectors to be able to view the elevation of our utility points after they've been collected using our R2 Trimble units. I've recently noticed a major discrepancy between the way that Field Maps, Map Viewer (Classic and new), and Web App maps displays my elevation Arcade expression.&lt;/P&gt;&lt;P&gt;The original arcade expression that I was using to display elevation is this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;Ceil&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN&gt;Geometry&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;Z&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;3.28084&lt;/SPAN&gt;&lt;SPAN&gt;)*&lt;/SPAN&gt;&lt;SPAN&gt;3.28084&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I know what you might be thinking: Why multiply the Z value by 3.28084 twice? For some reason (only in ArcGIS online) the elevation only reports in the hundreds and I've found that the Z value needs to be converted twice over. The Z value still reports in meters if I view the same data points in ArcGIS Pro, so it only needs to be converted once in Pro.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;My main question is:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;I noticed that my arcade equation does not report any elevation value in my pop-ups if I try to view data points in an ArcGIS Web App map (see the attached&amp;nbsp;&lt;EM&gt;Pop-up - Web App map.png&lt;/EM&gt;). I originally&lt;SPAN&gt;&amp;nbsp;configured the pop-up expression in the new Map Viewer, and the elevation shows up just fine when I view the pop up in Map Viewer (see the attached &lt;EM&gt;Pop-up - New Map Viewer.png&lt;/EM&gt;).&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I wondered if maybe the pop-up needed to be configured in Map Viewer Classic in order to get it to show up right, but my pop-ups in Map Viewer classic report the same thing as the Web App map- an elevation of 0.00 (see the attached&amp;nbsp;&lt;EM&gt;Pop-up - Map Viewer Classic.png&lt;/EM&gt;).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So naturally, this got me wondering what the elevation looks like in Field Maps and you're not gonna believe this guys, but it gets even more complicated. When viewing the elevation expression in Field Maps, the arcade expression multiplies the Z value in meters, so the elevation reporting in Field Maps is in the 10's of thousands while the same expression above reports the correct elevation in feet when looking at the pop-up in Map Viewer(see the attached &lt;EM&gt;Pop-up - Field Maps.png&lt;/EM&gt;).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So now, I have two separate elevation expressions because the elevation expressions calculate different values depending on if you're looking at the data in Field Maps or in the ArcGIS Online Map viewer. I would prefer not to have two separate expressions, but I don't know how I could possibly create an expression that reports different values based on the application that is being used. Secondly, I still can't get the elevation to show anything other than 0.00 when viewing the data in a Web App.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 May 2024 21:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-elevation-expression-in-web-appbuilder/m-p/1476590#M59301</guid>
      <dc:creator>JustB</dc:creator>
      <dc:date>2024-05-21T21:43:54Z</dc:date>
    </item>
  </channel>
</rss>

