Hi list, i have a problem with CQL_FILTER on "gwc/service/wms" layer.
According to https://docs.geoserver.org/stable/en/user/geowebcache/using.html#supported-parameter-filters CQL_FILTER is supported also in gwc layer. I have also set up Enable direct integration with GeoServer WMS in Caching Defaults. If i make the request with standard wms all work fine: https://geoportale.lamma.rete.toscana.it/geoserver_sar/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng8&TRANSPARENT=true&LAYERS=sar_rt%3Aps_interf_a_giglio&SRS=EPSG%3A3857&CRS=EPSG%3A3857&TILED=true&CQL_FILTER=(%22vel%22%20%3D%20%270.3%27)&WIDTH=256&HEIGHT=256&BBOX=1213208.5129423179%2C5209947.847917613%2C1218100.4827525693%2C5214839.817727864 but if i make the same request to gwc the filter doesn't work: https://geoportale.lamma.rete.toscana.it/geoserver_sar/gwc/service/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng8&TRANSPARENT=true&LAYERS=sar_rt%3Aps_interf_a_giglio&SRS=EPSG%3A3857&CRS=EPSG%3A3857&TILED=true&CQL_FILTER=(%22vel%22%20%3D%20%270.3%27)&WIDTH=256&HEIGHT=256&BBOX=1213208.5129423179%2C5209947.847917613%2C1218100.4827525693%2C5214839.817727864 Is the operation correct or is there something wrong with the filter parameters? Many thanks in advance, Riccardo. This is my geoserver instance: Build Information GeoServer Version 2.14.3 Git Revision a700a48f014f8051f98e2f3a2f9e8190e9df1c79 Build Date 20-Mar-2019 19:00 GeoTools Version 20.3 (rev c132dedeae6c497eb0f4d2603618989cc8745cd5) GeoWebCache Version 1.14.3 (rev 1.14.x/b0c915b3107d92ef29eb7ce9143f33fc60b9c470)
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
