On Thu, Apr 7, 2011 at 11:20 PM, Phil Scadden <p.scad...@gns.cri.nz> wrote:
>
>> try adding matchCase="false" as an attribute to the ogc:PropertyIsLike tag.
>>
>> As I understand it, it is implemented in GeoServer, but not for all
>> datastores (Oracle for sure, other ones I don't know).
> Okay, I'll try it. If it works it should be added to OpenLayers. I note
> the  matchCase is honoured in Openlayers (though not documented) for
> filters other than like but doesnt do it for like.

Not surprising, matchCase is not part of the Filter specification for
PropertyIsLike,
it's something we started slowly to add based on user feedback.
Afaik WFS 2.0/Filter 2.0 should add official support for matchCase also in like
comparisons.

> Ivan - strUpper is possible but setting up functions for generic code
> using Openlayers is causing some head scratching for me. The matchCase
> mechanism moves the responsibility from client to the wfs server
> implementation which is where I think it should be.

A colleague of mine provided just some time ago a way to encode
functions in OpenLayers, the latest release should have that new
support code (before it was just not possible to encode a filter function).
I know it works for filter functions embedded in spatial filters, not 100%
sure it will work in your case

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to