<font size=2 face="sans-serif">ok I got it, maxfeatures goes in getFeature
part...not in the query part</font>
<br><font size=2 face="sans-serif"><wfs:GetFeature xmlns:wfs="</font><a href=http://www.opengis.net/wfs><font size=2 color=blue face="sans-serif">http://www.opengis.net/wfs</font></a><font size=2 face="sans-serif">"
service="WFS" version="1.1.0" maxFeatures="1"</font>
<br>
<p>
<br>
<br>
<br>
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=40% style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif"><b>Steve.Toutant@inspq.qc.ca@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : mapserver-users-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2015-05-05 15:25</font>
<td width=59% style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=21>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 face="sans-serif">A</font></div>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">mapserver-users@lists.osgeo.org</font>
<tr valign=top height=21>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr valign=top height=21>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">[mapserver-users]
WFS getFeature,maxfeatures using POST</font></table>
<br>
<table width=393 style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<td width=336 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"></table>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">It seems that maxFeatures=x is not used
when using post request</font><font size=3> </font><font size=2 face="sans-serif"><br>
GET</font><font size=3> </font><font size=3 color=blue><u><br>
</u></font><a href="http://demo.mapserver.org/cgi-bin/wfs?VERSION=1.1.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=cities&maxFeatures=2"><font size=2 color=blue face="sans-serif"><u>http://demo.mapserver.org/cgi-bin/wfs?VERSION=1.1.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=cities&maxFeatures=2</u></font></a><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
POST (see attached file)</font><font size=3> </font><font size=2 face="sans-serif"><br>
curl -X POST -d @msdemo.xml </font><a href="http://demo.mapserver.org/cgi-bin/wfs?"><font size=2 color=blue face="sans-serif"><u>http://demo.mapserver.org/cgi-bin/wfs?</u></font></a><font size=2 face="sans-serif">
--header "Content-Type:text/xml"</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I tried with MS6.4 and MS7 also.</font><font size=3> </font>
<p><font size=3 color=blue>Is it a bug or I don't create the payload correctly?</font><font size=3>
</font>
<p><font size=3 color=blue>thanks</font><tt><font size=2>_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
</font></tt><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"><tt><font size=2>http://lists.osgeo.org/mailman/listinfo/mapserver-users</font></tt></a>
<br>
<br>
<br>