<?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: Can Arcade get the value of SHAPE_Length in SQL Server? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/can-arcade-get-the-value-of-shape-length-in-sql/m-p/1191060#M7777</link>
    <description>&lt;P&gt;Good idea&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;. Thank you.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jul 2022 00:21:41 GMT</pubDate>
    <dc:creator>LorenMueller</dc:creator>
    <dc:date>2022-07-09T00:21:41Z</dc:date>
    <item>
      <title>Can Arcade get the value of SHAPE_Length in SQL Server?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-arcade-get-the-value-of-shape-length-in-sql/m-p/1190620#M7772</link>
      <description>&lt;P&gt;I am trying to create an Attribute Rule that on record update in a line feature class that grabs the value in Shape_Length and copies it into another field. But in the Arcade text editor when choosing the Shape_Length field, it populates the script with $feature['Shape.STLength()'], the underlying method that populates that field in the db.&amp;nbsp; Well, when the system tries to evaluate the rule upon record update, it errors out saying that it can't find the field [Shape.STLength()]. Well yeah, that is not a field, it is an ST geom method.&amp;nbsp; How does one get the current value in Shape_Length without calling the underlying ST geom method? The Length() method leaves me a bit nervous because of the caveat of changing the results based on the scale of the map!? Yikes. And the projection I am using is NAD 83, so I can't use the LengthGeodetic() method.&amp;nbsp; Any ideas greatly appreciated.&lt;/P&gt;&lt;P&gt;(Esri 10.9.1, Pro 2.9.3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 22:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-arcade-get-the-value-of-shape-length-in-sql/m-p/1190620#M7772</guid>
      <dc:creator>LorenMueller</dc:creator>
      <dc:date>2022-07-07T22:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can Arcade get the value of SHAPE_Length in SQL Server?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-arcade-get-the-value-of-shape-length-in-sql/m-p/1190787#M7774</link>
      <description>&lt;P&gt;Side note for anyone who’s interested:&lt;/P&gt;&lt;P&gt;Arcade automatically pre-densifies true curves. So that affects the Arcade length too (&lt;SPAN&gt;Length($feature))…the Arcade pre-densified length will be different than the real length.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Whereas the Shape length (&lt;SPAN&gt;$feature.shape_length)&amp;nbsp;&lt;/SPAN&gt;doesn’t get pre-densified, at least not in SDE.ST_GEOMETRY in Oracle.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/hascurve-arcade-geometry-property/idc-p/1149449/highlight/true#M18873" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-ideas/hascurve-arcade-geometry-property/idc-p/1149449/highlight/true#M18873&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1657294981109.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45559iD5D199BF5954BCC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1657294981109.png" alt="Bud_0-1657294981109.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Bud_0-1657294981109.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 15:43:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-arcade-get-the-value-of-shape-length-in-sql/m-p/1190787#M7774</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-07-08T15:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can Arcade get the value of SHAPE_Length in SQL Server?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-arcade-get-the-value-of-shape-length-in-sql/m-p/1190872#M7775</link>
      <description>&lt;P&gt;If you don't end up getting an answer here, I wonder if it would be worthwhile posting in a different community, such as the &lt;A href="https://community.esri.com/t5/attribute-rules/ct-p/attribute-rules" target="_self"&gt;Attribute Rules Community&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 15:44:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-arcade-get-the-value-of-shape-length-in-sql/m-p/1190872#M7775</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-07-08T15:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can Arcade get the value of SHAPE_Length in SQL Server?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-arcade-get-the-value-of-shape-length-in-sql/m-p/1191060#M7777</link>
      <description>&lt;P&gt;Good idea&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;. Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 00:21:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-arcade-get-the-value-of-shape-length-in-sql/m-p/1191060#M7777</guid>
      <dc:creator>LorenMueller</dc:creator>
      <dc:date>2022-07-09T00:21:41Z</dc:date>
    </item>
  </channel>
</rss>

