[Geoserver-users] [WFS] GetFeature with maxFeatures parameter

Hi,

How to perform GetFeature() operation with “maxFeatures” parameter using POST method ?

The following example does not work :
<wfs:GetFeature version=“2.0.0” service=“WFS” xmlns:wfs=“http://www.opengis.net/wfs/2.0” xmlns:myNs=“http://myNs/”>
<wfs:Query typeNames=“myNs:myFeatureType” maxFeatures=“2”>
</wfs:Query>
</wfs:GetFeature>

Kind regards,

RudyWI

Hi,

In WFS 2.0 the name of maxFeatures is naturally changed and it is count now.

-Jukka Rahkonen-

···

Rudy Commenge wrote:

Hi,

How to perform GetFeature() operation with “maxFeatures” parameter using POST method ?

The following example does not work :
<wfs:GetFeature version=“2.0.0” service=“WFS” xmlns:wfs=“http://www.opengis.net/wfs/2.0” xmlns:myNs=“http://myNs/”>
<wfs:Query typeNames=“myNs:myFeatureType” maxFeatures=“2”>
</wfs:Query>
</wfs:GetFeature>

Kind regards,

RudyWI