<?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 Re: Difficulty getting indicator to utilize length geodetic in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/difficulty-getting-indicator-to-utilize-length/m-p/1271154#M7523</link>
    <description>&lt;P&gt;From the docs I'd say that LengthGeodetic()&amp;nbsp; input is the feature, not a length field from the feature (which wouldn't make any real sense).&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/function-reference/geometry_functions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;var test = Round(LengthGeodetic($datapoint, 'feet'),2)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;LengthGeodetic&lt;/H2&gt;&lt;H4&gt;LengthGeodetic(inputGeometry, unit?) -&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#number" target="_blank" rel="noopener"&gt;Number&lt;/A&gt;&lt;/H4&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/version-matrix/" target="_blank" rel="noopener"&gt;Since version 1.7&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Function bundle&lt;/STRONG&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/bundles/#geometry" target="_blank" rel="noopener"&gt;Geometry&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Returns the geodetic length of the input geometry or Feature in the given units. This is more reliable measurement of length than&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#length" target="_blank" rel="noopener"&gt;Length()&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;because it takes into account the Earth's curvature. Support is limited to geometries with a Web Mercator (wkid 3857) or a WGS 84 (wkid 4326) spatial reference.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$feature) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;inputGeometry&lt;/STRONG&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#geometry" target="_blank" rel="noopener"&gt;Geometry&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#feature" target="_blank" rel="noopener"&gt;Feature&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#array" target="_blank" rel="noopener"&gt;Array&lt;/A&gt;&amp;lt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#point" target="_blank" rel="noopener"&gt;Point&lt;/A&gt;&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- The geometry for which to calculate the geodetic length.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;unit&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(&lt;EM&gt;Optional&lt;/EM&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#text" target="_blank" rel="noopener"&gt;Text&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#number" target="_blank" rel="noopener"&gt;Number&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- Measurement unit of the return value. For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference. In other profiles, like field calculation, the default is based on the spatial reference of the data.&lt;BR /&gt;Possible values:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;feet&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;kilometers&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;miles&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;nautical-miles&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;meters&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;yards&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Return value&lt;/STRONG&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#number" target="_blank" rel="noopener"&gt;Number&lt;/A&gt;&lt;/P&gt;&lt;H5&gt;Example&lt;/H5&gt;&lt;P&gt;Returns the geodetic length of the feature in kilometers&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;LengthGeodetic($feature, 'kilometers')&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 23 Mar 2023 20:40:41 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2023-03-23T20:40:41Z</dc:date>
    <item>
      <title>Difficulty getting indicator to utilize length geodetic</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/difficulty-getting-indicator-to-utilize-length/m-p/1271138#M7522</link>
      <description>&lt;P&gt;I am trying to get my indicator to display the sum of the Shape_Length field values in geodetic, but my arcade expression does not appear to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;test&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;Round&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;LengthGeodetic&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$datapoint&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;sum_Shape__Length&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'feet'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 20:24:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/difficulty-getting-indicator-to-utilize-length/m-p/1271138#M7522</guid>
      <dc:creator>jasonheyman</dc:creator>
      <dc:date>2023-03-23T20:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty getting indicator to utilize length geodetic</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/difficulty-getting-indicator-to-utilize-length/m-p/1271154#M7523</link>
      <description>&lt;P&gt;From the docs I'd say that LengthGeodetic()&amp;nbsp; input is the feature, not a length field from the feature (which wouldn't make any real sense).&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/function-reference/geometry_functions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;var test = Round(LengthGeodetic($datapoint, 'feet'),2)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;LengthGeodetic&lt;/H2&gt;&lt;H4&gt;LengthGeodetic(inputGeometry, unit?) -&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#number" target="_blank" rel="noopener"&gt;Number&lt;/A&gt;&lt;/H4&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/version-matrix/" target="_blank" rel="noopener"&gt;Since version 1.7&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Function bundle&lt;/STRONG&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/bundles/#geometry" target="_blank" rel="noopener"&gt;Geometry&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Returns the geodetic length of the input geometry or Feature in the given units. This is more reliable measurement of length than&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#length" target="_blank" rel="noopener"&gt;Length()&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;because it takes into account the Earth's curvature. Support is limited to geometries with a Web Mercator (wkid 3857) or a WGS 84 (wkid 4326) spatial reference.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$feature) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;inputGeometry&lt;/STRONG&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#geometry" target="_blank" rel="noopener"&gt;Geometry&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#feature" target="_blank" rel="noopener"&gt;Feature&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#array" target="_blank" rel="noopener"&gt;Array&lt;/A&gt;&amp;lt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#point" target="_blank" rel="noopener"&gt;Point&lt;/A&gt;&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- The geometry for which to calculate the geodetic length.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;unit&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(&lt;EM&gt;Optional&lt;/EM&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#text" target="_blank" rel="noopener"&gt;Text&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#number" target="_blank" rel="noopener"&gt;Number&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- Measurement unit of the return value. For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference. In other profiles, like field calculation, the default is based on the spatial reference of the data.&lt;BR /&gt;Possible values:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;feet&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;kilometers&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;miles&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;nautical-miles&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;meters&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;yards&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Return value&lt;/STRONG&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#number" target="_blank" rel="noopener"&gt;Number&lt;/A&gt;&lt;/P&gt;&lt;H5&gt;Example&lt;/H5&gt;&lt;P&gt;Returns the geodetic length of the feature in kilometers&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;LengthGeodetic($feature, 'kilometers')&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Mar 2023 20:40:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/difficulty-getting-indicator-to-utilize-length/m-p/1271154#M7523</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2023-03-23T20:40:41Z</dc:date>
    </item>
  </channel>
</rss>

