<div dir="ltr"><div>Hi Denis,<br></div><div style>the filter <span style="font-family:arial,sans-serif;font-size:13px">PropertyIsEqualTo </span>is working for me. Are you abel to compile from trunk (but <span style="font-family:arial,sans-serif;font-size:13px">PropertyIsEqualTo should have worked in 6.0, too) and can you post the full mapfile?</span></div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Martin<br><br><div class="gmail_quote">2013/1/28 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">Hi!<div><br></div><div>PostGIS datastore and If I use temporary mapfile created by MapServer - PostGIS returns features which fits filter value.<div>
<div class="h5"><br><br><div class="gmail_quote">On Mon, Jan 28, 2013 at 3:09 PM, Martin Kofahl <span dir="ltr"><<a href="mailto:martin.kofahl@gmail.com" target="_blank">martin.kofahl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi <span name="Denis Rykov">Denis,<br></span></div><span name="Denis Rykov">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"><div><div>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></div></div>_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">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>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>