WFS PropertyIsLike case sensitive
Bart van den Eijnden (OSGIS)
bartvde at XS4ALL.NL
Sat Feb 11 08:15:23 EST 2006
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:
Sture Dingsøyr wrote:
>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:
><PropertyIsLike wildcard='%' singleChar='.' escape='!'><PropertyName>LOK_KOMM</PropertyName><Literal>AR%</Literal></PropertyIsLike>
>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
Bart van den Eijnden
OSGIS, Open Source GIS
More information about the mapserver-users