INGV / qquake

A plugin for QGIS 3.x that relies on web services for loading seismological data
https://www.emidius.eu/qquake/
GNU General Public License v3.0
7 stars 3 forks source link

Check the CQL flag to enable or disable the CQL filter button #47

Closed MarioLocati closed 2 years ago

MarioLocati commented 2 years ago

I recently discovered that not all OGC WFS and WMS backends supports the CQL filtering as it very much depends on the software used by the data provider, see a comparison table among different softwares at https://docs.qgis.org/3.16/en/docs/server_manual/faq.html

I have added the flag settings->queryCQL to each WFS and WMS services in the general configuration file (config.json) to decide whether the button "Set filter..." should be switched ON or OFF, see https://github.com/INGV/qquake/commit/7993af08e52b12e916a62abcd04578cb28bfbc82#diff-6794ba707eb92a34c8db15ffba50dc630af67db9e41bec8aab715a6f93ed77e4

Can you please add a check to such a flag and correspondigly switch the filtering button ON or OFF?