[OpenLayers-Users] CQL queries with WFS

Andreas Hocevar andreas.hocevar at gmail.com
Wed Aug 13 08:11:50 EDT 2008


Hi,

On Wed, Aug 13, 2008 at 2:08 PM, Eric Lemoine <eric.c2c at gmail.com> wrote:
> On Wed, Aug 13, 2008 at 11:49 AM, Andreas Hocevar
> <andreas.hocevar at gmail.com> wrote:
>> Hi,
>>
>> Since CQL_FILTER is not part to the WMS spec, the best way is to add
>> the filter to the WMS url, e.g.
>>
>> var layer=new OpenLayers.Layer.WMS("cql",
>> "http://your-server/wms?CQL_FILTER=foo<3", params, options);
>
> Todd's question related to WFS, but I guess the response is similar, isn't it?

Should be, yes. Just s/WMS/WFS/gi.

Regards,
Andreas.



More information about the Users mailing list