Hello,
I have a problem using a WFS filter on a non spatial attribute: when I use a WFS filter on a non-spatial attribute, it ignores the filter set in mapfile.

This is the mapfile filter.
FILTER "lang_id='de'"

This is the WFS filter.
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc";><ogc:PropertyIsEqualTo matchCase="true"><ogc:PropertyName>attribute_1</ogc:PropertyName><ogc:Literal>test</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter>

In this case, it ignores lang_id='de'.

Using this other filter,
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc";><ogc:BBOX><ogc:PropertyName>the_geom</ogc:PropertyName><gml:Envelope xmlns:gml="http://www.opengis.net/gml"; srsName="EPSG:25832"><gml:lowerCorner>723607.84958682 5175592.8275148</gml:lowerCorner><gml:upperCorner>723614.37390473 5175597.3352253</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter>
it uses, correctly, both the mapfile filter and the BBOX WFS filter.

If I use both BBOX and attribute, it ignores the mapfile filter.

Other (maybe) useful information:
MapServer 5.6.7 and MapServer 5.6.5
CONNECTIONTYPE POSTGIS
Tried both WFS version 1.1.0 and 1.0.0
Tried gml/wfs_in/exclude_items for lang_id

Anyone noticed this behaviour before?

Thank you


Best Regards,

Francesco
francesco.dale...@r3-gis.com

--

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to