Feature request #6354

WMS layer using VIEWPARAMETERS

Added by Andres Kärk over 4 years ago. Updated over 4 years ago.

Status:Open Start Date:09/17/2012
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:WMS Client
Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

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.

History

Updated by Pirmin Kalberer over 4 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

Also available in: Atom