Feature request #6354
WMS layer using VIEWPARAMETERS
|Assigned to:||-||% Done:||
|Target version:||Future Release - Nice to have|
|Platform version:||Pull Request or Patch supplied:||No|
We have found it to be impossible to add WMS layer using VIEWPARAMETERS in Qgis Desktop.
There is no fields to add such parameters in Add Layer(s) from a Server Window .
We tried to make workaround with Python script, but failed also. There is only seven parameters in
qgis.utils.iface.addRasterLayer(url, 'some layer name', 'wms', layers, styles, format, crs).
We tried to add our '&VIEWPARAMS=kiht:TTT_025' to url, but it was passed to GetCapabilities only.
GetMap request was made without it.
We think that adding VIEWPARAMS to the WMS options will be very useful.
This possibility is in Geoserver, Mapserver and Qgis Server, but we can't use this in Desktop.
Also available in: Atom