<?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: Shape.STLength() does not get published to feature service in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/shape-stlength-does-not-get-published-to-feature/m-p/471356#M18217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that is the correct behavior, and your workaround is the correct solution. Shape_STLength is a product of SDE, and is dynamical based upon the feature geometry. Since you're using M$ SQL, and you "could" be using Geometry or Geography Storage type, you could add another field and use a trigger or a constraint and auto-calculate the length: &lt;A href="https://msdn.microsoft.com/en-us/library/bb933895.aspx" title="https://msdn.microsoft.com/en-us/library/bb933895.aspx"&gt;https://msdn.microsoft.com/en-us/library/bb933895.aspx&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Nov 2015 14:39:27 GMT</pubDate>
    <dc:creator>ThomasColson</dc:creator>
    <dc:date>2015-11-09T14:39:27Z</dc:date>
    <item>
      <title>Shape.STLength() does not get published to feature service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/shape-stlength-does-not-get-published-to-feature/m-p/471353#M18214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I publish my feature service to my ArcGIS Server, the Shape.STLength field does not get published. Why not?? I literally have to make another field and maintain it by calculating the field every so often from the actual Shape.STLength() field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ugh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 19:17:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/shape-stlength-does-not-get-published-to-feature/m-p/471353#M18214</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-10-29T19:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Shape.STLength() does not get published to feature service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/shape-stlength-does-not-get-published-to-feature/m-p/471354#M18215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post more details of your environment? There are many hundreds of permutations of database, GIS software, and OS versions, each with their own quirks and configuration requiremetns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of operating system is the GIS Server, Database Server, and the client installed on (where client is either a web browser or desktop ArcMa)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using GIS or Web Tier Authentication? Are you using a Web Adaptor? If so, what flavor of web server? IIS or Apache? If Web Tier, are you using Windows Active Directory for security? LDAP? SAML? If so, are you enforcing PIV credentials? HTTPS (hope you are)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What flavor of database? Oracle? SQL? Is a domain service account starting the database? Have the right permissions been assigned to the feature class in question? Has the right group (role) been assigned to the rest service? Or is this a service based of a hosted service (FGDB in the server data store)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very helpful if you could post exact steps to reproduce....think like you're instructing a robot to make a jelly sandwich. I say this tongue in cheek, I probably still won't know what your problem is, but including specific and environment details will likely get your question answered quickly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 15:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/shape-stlength-does-not-get-published-to-feature/m-p/471354#M18215</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2015-10-30T15:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Shape.STLength() does not get published to feature service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/shape-stlength-does-not-get-published-to-feature/m-p/471355#M18216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GIS Server and Database Server: Windows Server 2012 R2.&lt;/P&gt;&lt;P&gt;Client: Windows 7 Pro SP 1&lt;/P&gt;&lt;P&gt;GIS Authentication&lt;/P&gt;&lt;P&gt;Web Adaptors 10.3&lt;/P&gt;&lt;P&gt;IIS&lt;/P&gt;&lt;P&gt;https&lt;/P&gt;&lt;P&gt;ArcGIS for Server 10.3&lt;/P&gt;&lt;P&gt;SQL Server 2008 R2 Express with Advanced Services&lt;/P&gt;&lt;P&gt;Right permissions&lt;/P&gt;&lt;P&gt;Not hosted service&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open ArcMap, Share as Service, Publish Service, choose admin connection to server, Capabilities: Mapping and Feature Access, Publish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at Service in ArcGIS Rest Services Directory - scroll down to Fields in one of the line feature classes. No Shape.STLength() listed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read a few forums about this and it might be by Esri design that these fields are hidden. Looking for confirmation from Esri?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 15:53:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/shape-stlength-does-not-get-published-to-feature/m-p/471355#M18216</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-10-30T15:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Shape.STLength() does not get published to feature service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/shape-stlength-does-not-get-published-to-feature/m-p/471356#M18217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that is the correct behavior, and your workaround is the correct solution. Shape_STLength is a product of SDE, and is dynamical based upon the feature geometry. Since you're using M$ SQL, and you "could" be using Geometry or Geography Storage type, you could add another field and use a trigger or a constraint and auto-calculate the length: &lt;A href="https://msdn.microsoft.com/en-us/library/bb933895.aspx" title="https://msdn.microsoft.com/en-us/library/bb933895.aspx"&gt;https://msdn.microsoft.com/en-us/library/bb933895.aspx&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 14:39:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/shape-stlength-does-not-get-published-to-feature/m-p/471356#M18217</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2015-11-09T14:39:27Z</dc:date>
    </item>
  </channel>
</rss>

