I have an application which applies cql_filter to multiple WMS services.
For my application, the printing extension fails when printing the map with 2 or more layers,
The frontend makes a request like this against pdf/create.json
And then MapFish logged this
What I read from above was MapFish has combined all the WMS services from the same host into one but did not combine the cql_filters, so GeoServer complained that...
Working this around could be very costly (either create hundreds of postgres views for every query combinations or let MapFish create images for each single layer and combine them in wkhtmltopdf).
It would be nice to make MapFish combine cql_filters or stop combining the WMS layers.
Amazon Linux (Linux version 4.1.17-22.30.amzn1.x86_64 (mockbuild@gobi-build-60009))
Oracle JRE 1.8.0 Update 92
to successfully use cql_filter with more than one layer you have to include a mergeableParams section in your request spec.
Something like this:
Oh... I overlooked that in the documentation and mergeableParams worked perfectly for me.
Many thanks to Mauro and I am happy this issue to be closed.
Mass closing all resolved issues not modified in the last 4 weeks