hi,<br>I am trying to use Filter in a WFS request to a geoserver service :<br>...<br>//------------- WFS layer --------------------------------<br>rlayer = new OpenLayers.Layer.WFS( <br>&nbsp;&nbsp;&nbsp; &quot;road&quot;, <br>&nbsp;&nbsp;&nbsp; &quot;
<a href="http://127.0.0.1:8080/geoserver/wfs">http://127.0.0.1:8080/geoserver/wfs</a>&quot;, <br>&nbsp;&nbsp;&nbsp; { <br>&nbsp;&nbsp;&nbsp; typename: &#39;sf:roads&#39; ,<br>&nbsp;&nbsp;&nbsp; filter: &#39;&lt;Filter&gt;&lt;PropertyIsEqualTo&gt;&lt;PropertyName&gt;cat&lt;/PropertyName&gt;&lt;Literal&gt;5&lt;/Literal&gt;&lt;/PropertyIsEqualTo&gt;&lt;/Filter&gt;&#39; &nbsp;&nbsp;&nbsp; }
<br>);<br>map.addLayer(rlayer);<br>...<br><br>the wfs request generated by OL to geoserver is : <br><br><a href="http://127.0.0.1:8080/geoserver/wfs?typename=sf%3Aroads&amp;filter=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Ecat%3C%2FPropertyName%3E%3CLiteral%3E5%3C%2FLiteral%3E%3C%2FPropertyIsEqualTo%3E%3C%2FFilter%3E&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=GetFeature&amp;SRS=EPSG%3A26713&amp;BBOX=578818.421053%2C4910169%2C617777.578947%2C4933301">
http://127.0.0.1:8080/geoserver/wfs?typename=sf%3Aroads&amp;filter=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Ecat%3C%2FPropertyName%3E%3CLiteral%3E5%3C%2FLiteral%3E%3C%2FPropertyIsEqualTo%3E%3C%2FFilter%3E&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=GetFeature&amp;SRS=EPSG%3A26713&amp;BBOX=578818.421053%2C4910169%2C617777.578947%2C4933301
</a><br><br>(with some cleaning : <br><a href="http://127.0.0.1:8080/geoserver/wfs?typename=sf:roads">http://127.0.0.1:8080/geoserver/wfs?typename=sf:roads</a><br>&amp;filter=&lt;Filter&gt;&lt;PropertyIsEqualTo&gt;&lt;PropertyName&gt;cat&lt;/PropertyName&gt;&lt;Literal&gt;5&lt;/Literal&gt;&lt;/PropertyIsEqualTo&gt;&lt;/Filter&gt;
<br>&amp;SERVICE=WFS<br>&amp;VERSION=1.0.0<br>&amp;REQUEST=GetFeature<br>&amp;SRS=EPSG:26713<br>&amp;BBOX=578818.421053,4910169,617777.578947,4933301<br>)<br><br>But geoserver answers me that i can use two filters at the same time in the request : &amp;Filter and &amp;BBOX 
<br><br>&lt;ServiceExceptionReport version=&quot;1.2.0&quot; xsi:schemaLocation=&quot;<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a> <a href="http://127.0.0.1:8080/geoserver/schemas//wfs/1.0.0/OGC-exception.xsd">
http://127.0.0.1:8080/geoserver/schemas//wfs/1.0.0/OGC-exception.xsd</a>&quot;&gt;<br>&nbsp;&lt;ServiceException&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GetFeature KVP request contained conflicting filters.&nbsp; <br>&nbsp;&nbsp;&nbsp; Filter: &lt;Filter&gt;&lt;PropertyIsEqualTo&gt;&lt;PropertyName&gt;cat&lt;/PropertyName&gt;&lt;Literal&gt;5&lt;/Literal&gt;&lt;/PropertyIsEqualTo&gt;&lt;/Filter&gt;, 
<br>&nbsp;&nbsp;&nbsp; fid: null, <br>&nbsp;&nbsp;&nbsp; bbox:578818.421053,4910169,617777.578947,4933301&nbsp;&nbsp; <br>&nbsp;&lt;/ServiceException&gt;<br>&lt;/ServiceExceptionReport&gt;<br><br><br>in fact, i want to avoid the &amp;bbox a the end of the wfs resquest send by OL to geoserver.
<br><br>When i take the request and i remove the &amp;bbox param the answer is correct.<br><br><br>Perhaps someone can help me?<br><br><br>I am using : <br>OpenLayers version : 2.4<br>geoserver version : 1.5.2<br><br><br>
Many thanks,<br>Marc.<br><br>