<div dir="ltr"><div>Hi <span name="Denis Rykov" class="">Denis,<br></span></div><span name="Denis Rykov" class="">which datastore do you use? In case of sql, does the database return any features?<br> </span><div class="gmail_extra">
<br></div><div class="gmail_extra">Martin<br></div><div class="gmail_extra"><br><div class="gmail_quote">2013/1/21 Denis Rykov <span dir="ltr"><<a href="mailto:rykovd@gmail.com" target="_blank">rykovd@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br><br>$ mapserv -v<br>MapServer version 6.2.0<br><br>Trying to use filter with the following URL:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<a href="http://localhost/cgi-bin/mapserv?map=/home/wfs.map&service=wfs&version=1.1.0&request=GetFeature&typeName=water&Filter=" target="_blank">http://localhost/cgi-bin/mapserv?map=/home/wfs.map&service=wfs&version=1.1.0&request=GetFeature&typeName=water&Filter=</a><Filter><PropertyIsEqualTo><PropertyName>natural</PropertyName><Literal>wetland</Literal></PropertyIsEqualTo></Filter></blockquote>


<br>But server response looks like:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><wfs:FeatureCollection xmlns:ms="<a href="http://mapserver.gis.umn.edu/mapserver" target="_blank">http://mapserver.gis.umn.edu/mapserver</a>" xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>" xmlns:wfs="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a>"xmlns:ogc="<a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:schemaLocation="<a href="http://mapserver.gis.umn.edu/mapserver" target="_blank">http://mapserver.gis.umn.edu/mapserver</a> <a href="http://localhost/cgi-bin/mapserv?map=/home/rykov/nextgis/vega2013/wfs.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=water&OUTPUTFORMAT=text/xml;%20subtype=gml/3.1.1" target="_blank">http://localhost/cgi-bin/mapserv?map=/home/rykov/nextgis/vega2013/wfs.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=water&OUTPUTFORMAT=text/xml;%20subtype=gml/3.1.1</a> <a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" target="_blank">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a>"><br>


<gml:boundedBy><br><gml:Null>missing</gml:Null><br></gml:boundedBy><br></wfs:FeatureCollection></blockquote><br><br>Try to debug mapfile by adding DEBUG 5 то MAP section. Accordingly log file - no errors, moreover if I change original mapfile with temporary mapfile created by MapServer with hardcoded FILTER expression - all works fine.
<br>_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
<br></blockquote></div><br></div></div>