<div dir="ltr">Hello everyone,<br><br>I have a comparison filter object that looks like this:<br><br><ogc:PropertyIsEqualTo matchCase="false"><br> <ogc:PropertyName>state</ogc:PropertyName><br>
<ogc:Literal>nsw</ogc:Literal><br></ogc:PropertyIsEqualTo><br><br>If I do filter.toString() it will produce 'state = 'nsw'' statement that I will use later in my cross-layer query. Filter.toString() method uses OpenLayers.Format.CQL write() method for that.<br>
<br>Problem: toString() will ignore matchCase="false" statement and my cross-layer query fails, so from my perspective given CQL statement is not correct.<br><br>I know there is 'ILIKE' statement, would it be better if above filter will be converted to "state ILIKE 'nsw'"?<br>
<br>Thanks Alex<br><br></div>