Feature request #8929

option to switch off dpi parameter when accessing WMS layers

Added by Bernhard Ströbl almost 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Web Services clients/WMS
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

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 aa256b8c
Added by Jürgen Fischer almost 4 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

#1 Updated by Jukka Rahkonen almost 4 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?

#2 Updated by Jürgen Fischer almost 4 years ago

  • Status changed from Open to Closed

#3 Updated by Bernhard Ströbl almost 4 years ago

danke Jürgen,

works great!

Also available in: Atom PDF