Web API Reference MapGuide Open Source
virtual MgDataReader* MgLayerBase::SelectAggregate ( MgFeatureAggregateOptions options  )  [virtual]

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 

Reimplemented in MgLayer.


Comments or suggestions? Send us feedback.