Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetClassDefinition
MgLayer
SelectAggregate
SelectFeatures
UpdateFeatures
virtual MgFeatureReader* MgLayer::SelectFeatures | ( | MgFeatureQueryOptions * | options | ) | `[virtual]`
Selects features from a feature source according to the criteria set in the MgFeatureQueryOptions argument The criteria are applied to all of the features in the feature source. If you want to apply the criteria to a subset of the features, use the MgFeatureService::SelectAggregate Method . See Filters and expressions . .NET Syntax
`virtual MgFeatureReader SelectFeatures(MgFeatureQueryOptions options);`
Java Syntax
`virtual MgFeatureReader SelectFeatures(MgFeatureQueryOptions options);`
PHP Syntax
`virtual MgFeatureReader SelectFeatures(MgFeatureQueryOptions options);`
  Parameters:
  | options | (MgFeatureQueryOptions) MgFeatureQueryOptions instance containing all required filters for this select operation.
  Returns: Returns an MgFeatureReader containing the set of selected features. Exceptions:
  | MgFeatureServiceException |
  | MgInvalidArgumentException |
  | MgFdoException |
Reimplemented from MgLayerBase.

Comments or suggestions? Send us feedback.