MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgFeatureReader* MgLayer::SelectFeatures ( MgFeatureQueryOptions options,
CREFSTRING  coordinateSystem 
) [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.
coordinateSystem(String/string) The WKT string of the coordinate system to transform features to
Returns:
Returns an MgFeatureReader containing the set of selected features.
Exceptions:
MgFeatureServiceException
MgInvalidArgumentException
MgFdoException
Since:
3.0

Reimplemented from MgLayerBase.