I am attempting to add a CQL filter to a WFS layer served from GeoServer. The result should display the pipelines which intersect landuse classes but for some reason I cannot get it to work. When using the preview in GeoServer the CQL filter works correctly.
I am storing the filter as a variable as such:
sewer_pipe_intersection_filter = ('Intersects' + '(' + 'geom' + ',' + 'collectGeometries' + '(' + 'queryCollection' + '(' + '"landuse_classifications"' + ',' + '"geom"' + ',' + '"INCLUDE"' + ')' + ')' + ')');
Am I missing something?