AcMapFeatureService:: SelectFeatures Method
(MgResourceIdentifier*, string, MgFeatureQueryOptions*, string)
(MgResourceIdentifier*, string, MgFeatureQueryOptions*, string)
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.
virtual MgFeatureReader* SelectFeatures( MgResourceIdentifier* resource, string className, MgFeatureQueryOptions* options, string coordinateSystem );
Parameters |
Description |
resource |
A resource identifier for the feature source. |
className |
The name of the feature class from which the properties of interest are selected. |
options |
MgFeatureQueryOptions instance containing all required filters for this select operation. |
coordinateSystem |
The name of the coordinate system to transform to. |
Returns
Returns an MgFeatureReader containing the set of selected features.
Remarks
Use the coordinateSystem argument to set the target coordinate system if you want to transform. If you want to apply the criteria to a subset of the features, use the SelectAggregate Method.
MgXX classes belong to the OsGeo.MapGuide namespace and are descibed in the Geospatial Platform Reference.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].