Does WFS (specifically we are using geoserver) allow for a 'CQL Filter' to be specified when making a XML request?

All the examples that I'm finding are for KVP requests.

I don't see why you couldn't do something like below yet I can't find it anywhere.

  • CQL filter is defined originally for the OGC Catologue service for web. However, it does not seem to be easy to find the documentation of that from the OGC web site. I suggest to start reading from here opengeospatial.org/standards/cat and report what you'll find.
    – user30184
    Commented Oct 16, 2017 at 21:25
  • CQL is provided by GeoServer as an extension to the WFS standard. AFAIK there is no way to use a CQL filter in the POST requests
    – Ian Turton
    Commented Oct 17, 2017 at 7:51

1 Answer 1


As Ian already reported, there is no way to use CQL in a POST request, its usage is currently limited to GET request, and it's a vendor extension to the base protocol.

The POST request could be extended to process it of course, it's a matter of finding the development resources to make it happen. See here:


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.