<?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: QueryTask: OutStatistic returns error if calculated on SHAPE.LEN in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-outstatistic-returns-error-if-calculated/m-p/30736#M798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rouf,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have the same problem. It may be the bugs of arcgisServer.&lt;/P&gt;&lt;P&gt;Here I describe it in detail.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcGIS Server :10.2.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcGIS desktop for publish Service:10.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcSDE: 10.1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; line feature in SDE published on Server. I want to get sum line length by some attribute.&lt;/P&gt;&lt;P&gt;On rest service page , set parameters for statistics. Click "query" button it returns "&lt;STRONG&gt;SUM(SHAPE.LEN) AS AAAA: xxxx&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;AAAA-&lt;SPAN style="color: #222222; text-indent: 0px;"&gt;outStatisticFieldName&lt;/SPAN&gt;.&amp;nbsp; The response of the request &lt;STRONG&gt;should be :AAAA: xxxx&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;There is &lt;STRONG&gt;no Server API&lt;/STRONG&gt; can get the value of &lt;STRONG&gt;SUM(SHAPE.LEN) AS AAAA&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The screenshot of the rest service response is as the pic:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="service issue.png" class="jive-image image-1" src="/legacyfs/online/21231_service issue.png" style="width: 620px; height: 465px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2014 08:27:59 GMT</pubDate>
    <dc:creator>baohuachu3</dc:creator>
    <dc:date>2014-10-15T08:27:59Z</dc:date>
    <item>
      <title>QueryTask: OutStatistic returns error if calculated on SHAPE.LEN</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-outstatistic-returns-error-if-calculated/m-p/30735#M797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If using statistic capability of Query on &lt;/SPAN&gt;&lt;STRONG&gt;SHAPE.LEN&lt;/STRONG&gt;&lt;SPAN&gt;. It returns an error "Unable to complete operation". Can anybody provide me assistance in this matter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rouf&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 08:52:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-outstatistic-returns-error-if-calculated/m-p/30735#M797</guid>
      <dc:creator>roufbaba</dc:creator>
      <dc:date>2014-05-07T08:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask: OutStatistic returns error if calculated on SHAPE.LEN</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-outstatistic-returns-error-if-calculated/m-p/30736#M798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rouf,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have the same problem. It may be the bugs of arcgisServer.&lt;/P&gt;&lt;P&gt;Here I describe it in detail.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcGIS Server :10.2.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcGIS desktop for publish Service:10.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcSDE: 10.1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; line feature in SDE published on Server. I want to get sum line length by some attribute.&lt;/P&gt;&lt;P&gt;On rest service page , set parameters for statistics. Click "query" button it returns "&lt;STRONG&gt;SUM(SHAPE.LEN) AS AAAA: xxxx&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;AAAA-&lt;SPAN style="color: #222222; text-indent: 0px;"&gt;outStatisticFieldName&lt;/SPAN&gt;.&amp;nbsp; The response of the request &lt;STRONG&gt;should be :AAAA: xxxx&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;There is &lt;STRONG&gt;no Server API&lt;/STRONG&gt; can get the value of &lt;STRONG&gt;SUM(SHAPE.LEN) AS AAAA&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The screenshot of the rest service response is as the pic:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="service issue.png" class="jive-image image-1" src="/legacyfs/online/21231_service issue.png" style="width: 620px; height: 465px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 08:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-outstatistic-returns-error-if-calculated/m-p/30736#M798</guid>
      <dc:creator>baohuachu3</dc:creator>
      <dc:date>2014-10-15T08:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask: OutStatistic returns error if calculated on SHAPE.LEN</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-outstatistic-returns-error-if-calculated/m-p/30737#M799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to local ESRI support the reason is :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SDE is based on old version of Sqlserver(mine is 2005). Geometry data is stored as &lt;SPAN style="color: #222222; text-indent: 0px;"&gt;SDEBINARY type&lt;/SPAN&gt; in SDE.&lt;/P&gt;&lt;P&gt;Geometry objects stored in &lt;SPAN style="color: #222222; text-indent: 0px;"&gt;shape&lt;/SPAN&gt; and f table. The line length is calculated based on union query. So the query result is "sum(shape.len) as xxxx".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The way to solve this is to use SQLServer 2008 or above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 10:05:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-outstatistic-returns-error-if-calculated/m-p/30737#M799</guid>
      <dc:creator>baohuachu3</dc:creator>
      <dc:date>2014-10-15T10:05:58Z</dc:date>
    </item>
  </channel>
</rss>

