Skip to main content
corrected spelling
Source Link
nmtoken
  • 13.6k
  • 5
  • 38
  • 89

When adding WMS layers trough pythonthrough Python plugin/script I run into issue with qgisQGIS stripping of vendor parameters. I found following issue that was closed (https://issues.qgis.org/issues/12255). Proposed solution doesntdoesn't with checking settings in guiGUI "Ignore GetMap/GetTile URI reported in capabilities" is not good for my case, as I am doing it from pythonPython script. 

Is there way to activate this setting from pythonPython script. Or is there any other work around?

Also the solution in this post (Non-standard WMS parameters not sent in GetMap requests via QGIS?) is not getting me anywhere, because WMS has to get & not encoded to parse it correctly.

When adding WMS layers trough python plugin/script I run into issue with qgis stripping of vendor parameters. I found following issue that was closed (https://issues.qgis.org/issues/12255). Proposed solution doesnt with checking settings in gui "Ignore GetMap/GetTile URI reported in capabilities" is not good for my case, as I am doing it from python script. Is there way to activate this setting from python script. Or is there any other work around?

Also the solution in this post (Non-standard WMS parameters not sent in GetMap requests via QGIS?) is not getting me anywhere, because WMS has to get & not encoded to parse it correctly.

When adding WMS layers through Python plugin/script I run into issue with QGIS stripping of vendor parameters. I found following issue that was closed (https://issues.qgis.org/issues/12255). Proposed solution doesn't with checking settings in GUI "Ignore GetMap/GetTile URI reported in capabilities" is not good for my case, as I am doing it from Python script. 

Is there way to activate this setting from Python script. Or is there any other work around?

Also the solution in this post (Non-standard WMS parameters not sent in GetMap requests via QGIS?) is not getting me anywhere, because WMS has to get & not encoded to parse it correctly.

edited tags
Link
artwork21
  • 35.2k
  • 8
  • 67
  • 134
Source Link
ndou
  • 43
  • 6

Vendor WMS parameters not sent in GetMap requests via QGIS?

When adding WMS layers trough python plugin/script I run into issue with qgis stripping of vendor parameters. I found following issue that was closed (https://issues.qgis.org/issues/12255). Proposed solution doesnt with checking settings in gui "Ignore GetMap/GetTile URI reported in capabilities" is not good for my case, as I am doing it from python script. Is there way to activate this setting from python script. Or is there any other work around?

Also the solution in this post (Non-standard WMS parameters not sent in GetMap requests via QGIS?) is not getting me anywhere, because WMS has to get & not encoded to parse it correctly.