[Qgis-user] Using qcl filter with WMS

2013-12-20 Thread Henning Jagd
Hi List, I am using QGIS 2 to view some WMS maps from a Geoserver. I want to filter the data using a CQL_FILTER option in the request, but cannot figure out how to do this in QGIS? I tried using the python console and adding the filter as a parameter in a qgis.utils.iface.addRasterLayer() call,

Re: [Qgis-user] Using qcl filter with WMS

2013-12-20 Thread Jukka Rahkonen
Henning Jagd hjagd11@... writes: Hi List,I am using QGIS 2 to view some WMS maps from a Geoserver. I want to filter the data using a CQL_FILTER option in the request, but cannot figure out how to do this in QGIS? I tried using the python console and adding the filter as a parameter in a

Re: [Qgis-user] Using qcl filter with WMS

2013-12-20 Thread Henning Jagd
It works! The method isn't very convenient, but it gets the right data. Thanks a lot! I found that adding IgnoreGetMapUrl=1 to the parameters of an addRasterLayer() call makes it possible to do this from the console, it just requires the URL to be extended with the qcl_filter and encoded (basicly