<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>.EmailQuote {
        BORDER-LEFT: #800000 2px solid; PADDING-LEFT: 4pt; MARGIN-LEFT: 1pt
}
</style><style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body ocsi="0" fPStyle="1">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 10pt">
<p>If you only have one rule then this isn't your problem.  I was just saying don't rely on the order of rules in your sld.  The comparison filters need to be mutually exclusive in my experience.</p>
<p> </p>
<div>
<hr tabindex="-1">
<div id="x_divRplyFwdMsg"><font color="#000000" size="2" face="Tahoma"><b>From:</b> openlayers-users-bounces@lists.osgeo.org [openlayers-users-bounces@lists.osgeo.org] on behalf of joaorodr84 [joaorodr84@gmail.com]<br>
<b>Sent:</b> Monday, April 27, 2015 11:30 AM<br>
<b>To:</b> openlayers-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [OpenLayers-Users] Like query with "singleChar" does not work correctly in OpenLayers.StyleMap<br>
</font><br>
</div>
<div></div>
</div>
<font size="2"><span style="FONT-SIZE: 10pt">
<div class="PlainText">Hello Ruff Thomas.<br>
<br>
As you can see in the example, I use only one rule:<br>
<br>
                /* Filter */<br>
                var filter = new OpenLayers.Filter.Comparison({<br>
                    property: 'STATE_NAME',<br>
                    type: OpenLayers.Filter.Comparison.LIKE,<br>
                    value: '.....'<br>
                });<br>
                var wmsFilter = filter.clone();<br>
                filter.value = filter.value.replace(/\*/g, '!*');<br>
                /* Rule */<br>
                var rule = new OpenLayers.Rule({<br>
                    filter: filter,<br>
                    symbolizer: {}<br>
                });<br>
<br>
I don't think this would be the problem, but please explain your point a<br>
little better.<br>
<br>
Thanks a lot<br>
<br>
Joćo<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__osgeo-2Dorg.1560.x6.nabble.com_Like-2Dquery-2Dwith-2DsingleChar-2Ddoes-2Dnot-2Dwork-2Dcorrectly-2Din-2DOpenLayers-2DStyleMap-2Dtp5203061p5203165.html&d=BQIGaQ&c=gpp0UHgwH8jd0f0gRc5QaF0zPfGT1csUQXD9eLov3hQ&r=iiS-4SY2BTp-9WmUwQb3-zEL2tnO_1j_07NMJG-MZ0s&m=oRl6FpNq9nbSCIP50IlpD2TPcY_JAO6w0_z3YgN6LZU&s=rXYpKgX9NgppwlNrQ1Yes6g3KFu-PqnoHwqqGOW6Dbw&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__osgeo-2Dorg.1560.x6.nabble.com_Like-2Dquery-2Dwith-2DsingleChar-2Ddoes-2Dnot-2Dwork-2Dcorrectly-2Din-2DOpenLayers-2DStyleMap-2Dtp5203061p5203165.html&d=BQIGaQ&c=gpp0UHgwH8jd0f0gRc5QaF0zPfGT1csUQXD9eLov3hQ&r=iiS-4SY2BTp-9WmUwQb3-zEL2tnO_1j_07NMJG-MZ0s&m=oRl6FpNq9nbSCIP50IlpD2TPcY_JAO6w0_z3YgN6LZU&s=rXYpKgX9NgppwlNrQ1Yes6g3KFu-PqnoHwqqGOW6Dbw&e=</a>
<br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
Users@lists.osgeo.org<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.osgeo.org_mailman_listinfo_openlayers-2Dusers&d=BQIGaQ&c=gpp0UHgwH8jd0f0gRc5QaF0zPfGT1csUQXD9eLov3hQ&r=iiS-4SY2BTp-9WmUwQb3-zEL2tnO_1j_07NMJG-MZ0s&m=oRl6FpNq9nbSCIP50IlpD2TPcY_JAO6w0_z3YgN6LZU&s=83bPUO6ESB8FdW9WJyO719eBaSki0l4mh9cXWjeCE9w&e=" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.osgeo.org_mailman_listinfo_openlayers-2Dusers&d=BQIGaQ&c=gpp0UHgwH8jd0f0gRc5QaF0zPfGT1csUQXD9eLov3hQ&r=iiS-4SY2BTp-9WmUwQb3-zEL2tnO_1j_07NMJG-MZ0s&m=oRl6FpNq9nbSCIP50IlpD2TPcY_JAO6w0_z3YgN6LZU&s=83bPUO6ESB8FdW9WJyO719eBaSki0l4mh9cXWjeCE9w&e=</a>
</div>
</span></font></div>
</body>
</html>