<?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: Geometry Fields - Shape.length vs Shape.STLength() in ArcGIS in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/1677645#M45817</link>
    <description>&lt;P&gt;Greetings from 2026 - I found your post very useful, even twelve years later!&lt;BR /&gt;Our office transitioned from an old system into a SQL-based system, so our old SHAPE.LEN field became SHAPE.STLength. So our attribute rules that referenced SHAPE.LEN needed to be changed to reference SHAPE.STLength.&lt;BR /&gt;Your post helped inform us that both are automatically calculated geometry fields, and how SQL comes into play. Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jan 2026 20:31:41 GMT</pubDate>
    <dc:creator>Tiffany_Chau</dc:creator>
    <dc:date>2026-01-13T20:31:41Z</dc:date>
    <item>
      <title>Geometry Fields - Shape.length vs Shape.STLength() in ArcGIS</title>
      <link>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/348112#M19932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've been looking for a good explanation of the difference between how Shape.len or Shape.len and Shape.STLength() is handled in ArcGIS. If anyone can confirm or correct the following for me and explain them better I invite you to do so.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I believe I know:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Both are automatically calculated geometry fields&lt;/LI&gt;&lt;LI&gt;Both fields are permanent and cannot be removed&lt;/LI&gt;&lt;LI&gt;Shape.len/Shape.length is calculated by ArcGIS while Shape.STLength() is calculated by Microsoft SQL Server or another DBMS&lt;/LI&gt;&lt;LI&gt;Shape.STLength() wasn't used by ArcSDE up until a recent upgrade, because it wasn't until our recent upgrade to 10.2 when we started experienceing issues.&lt;/LI&gt;&lt;LI&gt;Because Shape.STLength() is not calculated by Esri, ArcGIS for Mobile and ArcPad both have difficulties with the field because it also cannot be null.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 13:02:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/348112#M19932</guid>
      <dc:creator>roemhildtg</dc:creator>
      <dc:date>2014-08-15T13:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry Fields - Shape.length vs Shape.STLength() in ArcGIS</title>
      <link>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/348113#M19933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gregg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using SQL Server, you may want to try using the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002q0000001p000000"&gt;SDEBINARY&lt;/A&gt; geometry type rather than the default GEOMETRY type.&amp;nbsp; Performance is usually faster, and the length will be in a field called 'Shape.len', so you may not experience any issues with ArcGIS for Mobile or ArcPad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 14:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/348113#M19933</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2014-08-15T14:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry Fields - Shape.length vs Shape.STLength() in ArcGIS</title>
      <link>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/348114#M19934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is what I am looking for, I think. Could you point me in the direction of configuring SQL server to use SDEBINARY?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 14:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/348114#M19934</guid>
      <dc:creator>roemhildtg</dc:creator>
      <dc:date>2014-08-15T14:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry Fields - Shape.length vs Shape.STLength() in ArcGIS</title>
      <link>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/348115#M19935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this by exporting the dbtune table, updating the DEFAULTS keyword to use SDEBINARY, and then re-import the dbtune table.&amp;nbsp; Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Export the dbtune table using command line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14081142317251202 jive_text_macro" jivemacro_uid="_14081142317251202" modifiedtitle="true"&gt;
&lt;P&gt;C:\&amp;gt;sdedbtune -o export -f c:\temp\dbtune.sde -u sde -p sde -i sde:sqlserver:&amp;lt;server name&amp;gt; -D &amp;lt;database name&amp;gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Open the dbtune.sde file in a text editor&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Under ##DEFAULTS, change the GEOMETRY_STORAGE parameter from "GEOMETRY" to "SDEBINARY"&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; Save your changes&lt;/P&gt;&lt;P&gt;5.&amp;nbsp; Re-import the dbtune.sde file using command line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14081143395192308 jive_text_macro" jivemacro_uid="_14081143395192308"&gt;
&lt;P&gt;C:\&amp;gt;sdedbtune -o export -f c:\temp\dbtune.sde -u sde -p sde -i sde:sqlserver:&amp;lt;server name&amp;gt; -D &amp;lt;database name&amp;gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; this will not update existing feature classes.&amp;nbsp; You can use the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000000q000000"&gt;Migrate Storage&lt;/A&gt; tool to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 14:53:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/348115#M19935</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2014-08-15T14:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry Fields - Shape.length vs Shape.STLength() in ArcGIS</title>
      <link>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/348116#M19936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a bunch, Jake. I'll look into changing to SDEBINARY. Hopefully this fixes our issue with Mobile and ArcPad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 16:47:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/348116#M19936</guid>
      <dc:creator>roemhildtg</dc:creator>
      <dc:date>2014-08-15T16:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry Fields - Shape.length vs Shape.STLength() in ArcGIS</title>
      <link>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/1677645#M45817</link>
      <description>&lt;P&gt;Greetings from 2026 - I found your post very useful, even twelve years later!&lt;BR /&gt;Our office transitioned from an old system into a SQL-based system, so our old SHAPE.LEN field became SHAPE.STLength. So our attribute rules that referenced SHAPE.LEN needed to be changed to reference SHAPE.STLength.&lt;BR /&gt;Your post helped inform us that both are automatically calculated geometry fields, and how SQL comes into play. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2026 20:31:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/geometry-fields-shape-length-vs-shape-stlength-in/m-p/1677645#M45817</guid>
      <dc:creator>Tiffany_Chau</dc:creator>
      <dc:date>2026-01-13T20:31:41Z</dc:date>
    </item>
  </channel>
</rss>

