Closed chelm closed 9 years ago
We need outStats to be fully supported. We currently support most basic field stats but not group by which is useful for counting unique strings like so:
{ "outStatistics": [{"statisticType": "count","onStatisticField": "MIXEDUSE","outStatisticFieldName": "MIXEDUSE_COUNT"}], "groupByFieldsForStatistics": "MIXEDUSE", "orderByFields": "MIXEDUSE_COUNT" }
http://koop.dc.esri.com/agol/qaext/0951534f38894f848e4108096e664479/FeatureServer/0/query?groupByFieldsForStatistics=siteTitle&outStatistics=[{%22statisticType%22:%22count%22,%22onStatisticField%22:%22siteTitle%22,%22outStatisticFieldName%22:%22siteTitleCount%22}]
We need outStats to be fully supported. We currently support most basic field stats but not group by which is useful for counting unique strings like so:
{ "outStatistics": [{"statisticType": "count","onStatisticField": "MIXEDUSE","outStatisticFieldName": "MIXEDUSE_COUNT"}], "groupByFieldsForStatistics": "MIXEDUSE", "orderByFields": "MIXEDUSE_COUNT" }