Web API Reference MapGuide Open Source

MgFeatureAggregateOptions Class Reference
[MgFeatureAggregateOptions]

Use this class to set the filter criteria used to select groups of features from a datastore or for restricting the values returned to be unique. More...

Inherits MgFeatureQueryOptions.

List of all members.


Public Member Functions

 MgFeatureAggregateOptions ()
 Constructs an MgFeatureAggregateOptions object.
void SelectDistinct (bool yes)
 Use this method to restrict the values returned by a select operation to be unique.
void SetGroupingFilter (MgStringCollection *groupByProperties, CREFSTRING groupFilter)
 Modifies a select operation with a grouping filter so that the results are grouped.

Detailed Description

Use this class to set the filter criteria used to select groups of features from a datastore or for restricting the values returned to be unique.

Remarks:
This is a subclass of MgFeatureQueryOptions. Read the topic filters and expressions for a discussion of all of the basic filter capabilities. An instance of this class is an argument to MgFeatureService::SelectAggregate().

Comments or suggestions? Send us feedback.