[OpenLayers-Users] CQL queries with WFS

Eric Lemoine eric.c2c at gmail.com
Wed Aug 13 08:08:25 EDT 2008


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?
--
Eric



More information about the Users mailing list