Retrieves feature information based on the supplied criteria.
.NET Syntax
|
virtual MgFeatureReader GetWfsReader(MgResourceIdentifier featureSourceId, string featureClass, MgStringCollection requiredProperties, string srs, string filter, string sortCriteria);
|
Java Syntax
|
virtual MgFeatureReader GetWfsReader(MgResourceIdentifier featureSourceId, string featureClass, MgStringCollection requiredProperties, string srs, string filter, string sortCriteria);
|
PHP Syntax
|
virtual MgFeatureReader GetWfsReader(MgResourceIdentifier featureSourceId, string featureClass, MgStringCollection requiredProperties, string srs, string filter, string sortCriteria);
|
- Parameters:
-
| featureSourceId | (MgResourceIdentifier) The resource identifier defining the location of the feature source in the repository. |
| featureClass | (String/string) The feature class containing the features to retrieve. |
| requiredProperties | (MgStringCollection) The collection of properties to retrieve for each feature. If the collection is null or empty, all properties will be retrieved. |
| srs | (String/string) The spatial reference system in which to return feature geometries |
| filter | (String/string) An XML string containing the definition for an OGC filter |
| sortCriteria | (String/string) A string identifying the sort criteria |
The main use case for this method is for providing the base feature reader for outputting WFS GetFeature responses in formats other than GML
- Returns:
- Returns an MgByteReader containing the requested feature information.
- Exceptions:
-
| MgInvalidArgumentException | |
- Since:
- 4.0