[OpenLayers-Users] Like query with "singleChar" does not work correctly in OpenLayers.StyleMap
Ruff, Thomas
Thomas.Ruff at solers.com
Mon Apr 27 12:05:06 PDT 2015
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.
________________________________
From: openlayers-users-bounces at lists.osgeo.org [openlayers-users-bounces at lists.osgeo.org] on behalf of joaorodr84 [joaorodr84 at gmail.com]
Sent: Monday, April 27, 2015 11:30 AM
To: openlayers-users at lists.osgeo.org
Subject: Re: [OpenLayers-Users] Like query with "singleChar" does not work correctly in OpenLayers.StyleMap
Hello Ruff Thomas.
As you can see in the example, I use only one rule:
/* Filter */
var filter = new OpenLayers.Filter.Comparison({
property: 'STATE_NAME',
type: OpenLayers.Filter.Comparison.LIKE,
value: '.....'
});
var wmsFilter = filter.clone();
filter.value = filter.value.replace(/\*/g, '!*');
/* Rule */
var rule = new OpenLayers.Rule({
filter: filter,
symbolizer: {}
});
I don't think this would be the problem, but please explain your point a
little better.
Thanks a lot
João
--
View this message in context: 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=
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
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=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20150427/6fd55ce2/attachment.html>
More information about the Users
mailing list