MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

Selects groups of features from a feature source and applies filters to each of the groups according to the criteria set in the MgFeatureAggregateOptions argument. If you want to apply the criteria to all features without grouping them, use the MgFeatureService::SelectFeatures Method . See Filters and expressions .

.NET Syntax
virtual MgDataReader SelectAggregate(MgFeatureAggregateOptions options);
Java Syntax
virtual MgDataReader SelectAggregate(MgFeatureAggregateOptions options);
PHP Syntax
virtual MgDataReader SelectAggregate(MgFeatureAggregateOptions options);
Parameters:
options(MgFeatureAggregateOptions) An MgFeatureAggregateOptions instance containing all the criteria and filters required for this select operation.
Returns:
Returns an MgDataReader containing the group values.
Exceptions:
MgFeatureServiceException
MgInvalidArgumentException
MgFdoException
Since:
1.2

Reimplemented in MgLayer.