Hi,

this is how the OGC spec defines a WFS should operate, it should operate case sensitive by default.

There is a little tweak in Mapserver to get it to behave case insensitive, but it's a mix of WFS 1.0.0 and Filter 1.1 which is strictly speaking against the OGC rules.

If you add matchCase="false" to your PropertyIsLike it should work. Note other WFS 1.0.0 servers won't support this.

More info at:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1381

Best regards,
Bart

Sture Dingsøyr wrote:

Hi

I have been testing the WFS FILTER with Mapserver.

Is it possible to make a property search that is not case sensitive?

Been testing with this filter, that works fine:
<Filter>
<PropertyIsLike wildcard='%' singleChar='.' 
escape='!'><PropertyName>LOK_KOMM</PropertyName><Literal>AR%</Literal></PropertyIsLike>
</Filter>

But if i change the "<Literal>AR*</Literal>" to lower case e.g. 
"<Literal>ar*</Literal>" i get no hits.

Does Mapserver support case insensitivity in WFS FILTER search?

I am running on Windows with Mapserver 4.8.1


Regards Sture


--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

Reply via email to