Hi Sture,
as soon as Mapserver will start supporting WFS 1.1, this can remain one
of the features. But I don't know when that will be.
The strange thing about filter 1.1 was also that the schema has
matchCase for propertyisequalto filters but not for properyislike
filters, which seems to be a mistake on the OGC side (at least that was
the last feedback I got off-list from Peter Vretanos from Cubewerx, the
editor of the spec), but can also take time to get corrected on the OGC
side (a new Filter version, and then waiting for a new WFS version to
incorporate the new Filter version etc. ....).
Best regards,
Bart
Sture Dingsøyr wrote:
Hi Bart
Thanx for your reply...
I've tested to add the matchCase="false" and it works fine :-)
Since this is not a "OGC standard", is this a feature that will be continued to
be supported in Mapserver in the future?
Best regards
Sture
-----Opprinnelig melding-----
Fra: UMN MapServer Users List [mailto:[EMAIL PROTECTED] På vegne av Bart van
den Eijnden (OSGIS)
Sendt: 11. februar 2006 14:15
Til: [email protected]
Emne: Re: [UMN_MAPSERVER-USERS] WFS PropertyIsLike case sensitive
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
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl