Feature request #8929

option to switch off dpi parameter when accessing WMS layers

Added by Bernhard Ströbl over 3 years ago. Updated over 3 years ago.

Status:Closed Start Date:10/22/2013
Priority:Normal Due date:
Assigned to:- % Done:

0%

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

Description

proposed feature:
add an option do not send dpi parameter in GetMap request in the WMS connection details
default should be unchecked = do send the parameter (as is default since QGIS 2.0)

This thread (unfortunately split into two) describes the discussion
http://osgeo-org.1560.x6.nabble.com/Problem-with-WMS-1-1-1-data-providers-in-QGIS-2-0-1-td5084857.html
http://osgeo-org.1560.x6.nabble.com/Problem-with-WMS-1-1-1-data-providers-in-QGIS-2-0-1-td5084970.html

Associated revisions

Revision aa256b8c33343e834aae0755950ab891007b483c
Added by Jürgen Fischer over 3 years ago

[FEATURE]
- make wms dpi mode configurable (fixes #8929)
- enum for tile request attributes
- allow setting of User-Agent (fixes #7361)
- show error messages on WMS GetCapabilities

History

Updated by Jukka Rahkonen over 3 years ago

I would call it "Switch off all vendor parameters" because it is hard to guess which parametes may cause troubles with WMS servers. In the case in mailing list it was not DPI but MAP_RESOLUTION which made UMN Mapserver v. 5.0 to fail.

The one who knows can add whatever vendor parameters to server URL, but because most probably they are not advertised in the GetCapabilities user should also be aware to use the base URL instead of the GetMap url from GetCapabilities. It gets a bit difficult for regular users. Would it be too bad to have "vendor parameters" box in the already crowded dialogue?

Updated by Jürgen Fischer over 3 years ago

  • Status changed from Open to Closed

Updated by Bernhard Ströbl over 3 years ago

danke Jürgen,

works great!

Also available in: Atom