Is it at all possible to use a CQL_FILTER on a WMS service in ArcGIS? Ideally we'd be able to programatically change the CQL_FILTER parameter in the WMS URL.


2 Answers 2


No. The list of valid parameters is here.

CQL_filter is a geotools "vendor parameter". Vendor parameters are options that are not defined in the official WMS specification, but are allowed by it. The danger in using it is that no client is obligated to use it, or even to acknowlege that it exists.

ArcGIS does expose a query interface using a web form, but I don't think this is going to help you.


Yes. I was able to apply a cql_filter by doing this:

geoserverLayer: WMSLayer = new WMSLayer({
  url: 'http://localhost:8080/geoserver/ows',
  sublayers: [{ name: 'cite:default' }],
  customLayerParameters: {
    cql_filter: "(startday BETWEEN '2014-07-02' AND '2014-07-12')"


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.