<?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 How do I fix the SHAPE.STArea/SHAPE.STLength issue? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-do-i-fix-the-shape-starea-shape-stlength-issue/m-p/39022#M2181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to adopt the ArcGIS Addressing Assistant and running into issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the MXD downloaded. The ArcGIS Attribute Assistant and the ArcGIS Addressing Assistant are installed as well. However, my MXD is failing to draw layers constantly because of :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Editing Basemap: &amp;nbsp;9K: &amp;nbsp;FacilitySites_9K: &amp;nbsp;Attribute column not found [42S22:[Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'SHAPE_Area'.] [LocalGovernment2.SDE.FacilitySite]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;So, at first, I was able to move through most of the layers and adjust the definition query or the label expression or the SQL expression for that layers labels. But then I hit the layer from the error message above, Facility Sites.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing I do will get that layer to go. I've even tried unchecking it from the Table of Contents and it still throws an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found this referenced in another thread:&amp;nbsp;&lt;A href="https://community.esri.com/message/683982-re-shapestareafield-in-sql-2008"&gt;https://community.esri.com/message/683982-re-shapestareafield-in-sql-2008&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently it's part of a known bug that ESRI doesn't think is a priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ESRI would like the City of Tulsa to adopt their Addressing solutions? It really should be bumped up a little? A solution is necessary or I have to give up on this process. We are trying to move to get our entire addressing data moved into the LGM, but this... this is a HUGE setback when every layer is messed up like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 May 2017 14:47:34 GMT</pubDate>
    <dc:creator>BrianO_keefe</dc:creator>
    <dc:date>2017-05-02T14:47:34Z</dc:date>
    <item>
      <title>How do I fix the SHAPE.STArea/SHAPE.STLength issue?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-fix-the-shape-starea-shape-stlength-issue/m-p/39022#M2181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to adopt the ArcGIS Addressing Assistant and running into issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the MXD downloaded. The ArcGIS Attribute Assistant and the ArcGIS Addressing Assistant are installed as well. However, my MXD is failing to draw layers constantly because of :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Editing Basemap: &amp;nbsp;9K: &amp;nbsp;FacilitySites_9K: &amp;nbsp;Attribute column not found [42S22:[Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'SHAPE_Area'.] [LocalGovernment2.SDE.FacilitySite]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;So, at first, I was able to move through most of the layers and adjust the definition query or the label expression or the SQL expression for that layers labels. But then I hit the layer from the error message above, Facility Sites.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing I do will get that layer to go. I've even tried unchecking it from the Table of Contents and it still throws an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found this referenced in another thread:&amp;nbsp;&lt;A href="https://community.esri.com/message/683982-re-shapestareafield-in-sql-2008"&gt;https://community.esri.com/message/683982-re-shapestareafield-in-sql-2008&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently it's part of a known bug that ESRI doesn't think is a priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ESRI would like the City of Tulsa to adopt their Addressing solutions? It really should be bumped up a little? A solution is necessary or I have to give up on this process. We are trying to move to get our entire addressing data moved into the LGM, but this... this is a HUGE setback when every layer is messed up like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 14:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-fix-the-shape-starea-shape-stlength-issue/m-p/39022#M2181</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2017-05-02T14:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I fix the SHAPE.STArea/SHAPE.STLength issue?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-fix-the-shape-starea-shape-stlength-issue/m-p/39023#M2182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to test your workflow, I downloaded the '&lt;SPAN style="background-color: #ffffff;"&gt;ArcGIS Addressing Assistant', copied all the data to a new SQL Server Enterprise geodatabase&amp;gt; Delete the File gdb&amp;gt; Resource the layer in the MXD&amp;gt; Change the Definition Query as needed&amp;gt; Everything seems to be working fine and no error is thrown.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;So my question would be, what is the SQL present in the Definition Query for that layer? or maybe I am missing some other necessary step?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/349311_Capture.JPG" style="width: 751px; height: 505px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used ArcGIS 10.4.1, SQL Server 2014.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 16:56:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-fix-the-shape-starea-shape-stlength-issue/m-p/39023#M2182</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2017-05-02T16:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I fix the SHAPE.STArea/SHAPE.STLength issue?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-fix-the-shape-starea-shape-stlength-issue/m-p/39024#M2183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So it would appear that our LGM DB is an upgraded one. And apparently, the required fields from ESRI don't translate correctly or get re-created with weird names or something. But... in the downloaded MXD when I reconnect to our upgraded LGM DB I keep getting drawing failed errors because the MXD is looking for SHAPE_Area or SHAPE_Length but in the LGM DB (built according to ESRI specs and Upgraded according to ESRI protocol) has SHAPE.STArea or SHAPE.STLength and so the layers crap out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally corrected it by walking through each layer that had drawing errors and updating the Definition Query / Label Expression or Label SQL Expression to use SHAPE.STArea() instead of "SHAPE_Area" and voila... it works now...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Took me forever... But it's fixed and running now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 19:24:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-fix-the-shape-starea-shape-stlength-issue/m-p/39024#M2183</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2017-05-02T19:24:52Z</dc:date>
    </item>
  </channel>
</rss>

