<?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 Is there a Summarize Field function? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-summarize-field-function/m-p/264839#M6882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to build a table for values in a FeatureLayer. I was looking for something like the Summarize option in ArcMap when you right click on a field in the table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, I have several query tasks running and would like to clean the code a bit as well as improve performance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2011 14:21:53 GMT</pubDate>
    <dc:creator>MichaelKohler</dc:creator>
    <dc:date>2011-09-09T14:21:53Z</dc:date>
    <item>
      <title>Is there a Summarize Field function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-summarize-field-function/m-p/264839#M6882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to build a table for values in a FeatureLayer. I was looking for something like the Summarize option in ArcMap when you right click on a field in the table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, I have several query tasks running and would like to clean the code a bit as well as improve performance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 14:21:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-summarize-field-function/m-p/264839#M6882</guid>
      <dc:creator>MichaelKohler</dc:creator>
      <dc:date>2011-09-09T14:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a Summarize Field function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-summarize-field-function/m-p/264840#M6883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Statistical information on QueryTask is new to API v3.0 and ArcGIS Server 10.1. You can join the beta community to try them out &lt;/SPAN&gt;&lt;A href="https://betacommunity.esri.com/community/notice/resource.html?r={D0FF1C13-907E-4756-AE7A-D9540AC3A9C3}&amp;amp;ref=/home.html"&gt;https://betacommunity.esri.com/community/notice/resource.html?r={D0FF1C13-907E-4756-AE7A-D9540AC3A9C3}&amp;amp;ref=/home.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the current server and web API, you can use Linq query on the result, this should save you from performing multiple queries &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/vcsharp/aa336746"&gt;http://msdn.microsoft.com/en-us/vcsharp/aa336746&lt;/A&gt;&lt;SPAN&gt;. This seem related: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/16305-Attribute-Query-Task-Question"&gt;http://forums.arcgis.com/threads/16305-Attribute-Query-Task-Question&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 21:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-summarize-field-function/m-p/264840#M6883</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-09-12T21:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a Summarize Field function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-summarize-field-function/m-p/264841#M6884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That was pretty neat. THANK YOU. I don't think I even need to run a query. The last post of yours in the attached thread was what I needed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did:&amp;nbsp;&amp;nbsp; var rv = from g in fl.Graphics group g by g.Attributes["Sold"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it gave me what I wanted... It's 5pm and I can wait till tomorrow!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for all your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 20:03:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-summarize-field-function/m-p/264841#M6884</guid>
      <dc:creator>MichaelKohler</dc:creator>
      <dc:date>2011-09-21T20:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a Summarize Field function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-summarize-field-function/m-p/264842#M6885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jennifer, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I have in my silverlight app...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;User can search for any registered place (any boundary) or draw a custom polygon, rectangle, circle;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then our users can search for BIT RUNS (more than 3 mil points worldwide) with any filter they have defined, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;such as BIT SIZE, Depth Range, whatever. I give user the option to return count only, or return features;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a limit of 1000 features returned so not so useful when the boundary is large, the the Barnett Shale Play region&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the US.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus, I was hoping to somehow return FREQUENCY counts by some other attribute such as BIT MANUFACTURER, HOLE_DIRECTION, or OPERATOR; This would return counts for each grouping the user chooses;&amp;nbsp; If I can display this in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a graph or pie chart, with click operation to further drill down (adding those additional attributes as filter) that would be useful;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure if the best approach is to build a custom GP TOOL (pass in a polygon, pass in layer with filter, pass in user defined GROUP BY fields (from the BIT RUNS layer), and run it through a FREQUENCY tool, get the TABLE, return to client, take table data, draw the chart, etc etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-or-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Implement a SOE that has a QUERY-GROUP-BY task, like a query tool, only the extras would be the GROUP BY attribute (a text only field) and internally it does the FREQUENCY tool task, returning the Table via rest...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So is this new Summarize field function something that you are building so that one may GET QUERY COUNTS GROUPED BY &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ATTRIBUTE X?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 13:44:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-summarize-field-function/m-p/264842#M6885</guid>
      <dc:creator>AnastasiaAourik</dc:creator>
      <dc:date>2012-08-21T13:44:29Z</dc:date>
    </item>
  </channel>
</rss>

