Purpose: If @maxFeatures > 0, then the number of features included in the response shall not exceed the specified number. Members of a feature collection do NOT count toward the total

Test method

Execute the following Test Steps:

  • Send the following GetFeature request by POST:

<?xml version="1.0" encoding="UTF-8"?> <wfs:GetFeature xmlns:wfs="" version="1.1.0" service="WFS" maxFeatures="2"> <wfs:Query typeName="$ftname" srsName="urn:ogc:def:crs:EPSG::4326"/> </wfs:GetFeature>


Reference(s): OGC 04-094, 9.2, p.35

Test type: Automated


former ETS tc: wfs:wfs-1.1.0-Basic-GetFeature-tc2.1

Contextual XPath references

The namespace prefixes used as described in

Abbreviation XPath expression (relative to wfs:FeatureCollection )
[wfs:FeatureCollection] /wfs:FeatureCollection
[gml:featureMembers] /wfs:FeatureCollection/gml:featureMembers