Bug report #8359

Remove warning about WMS

Added by Paolo Cavallini over 10 years ago. Updated about 5 years ago.

Status:Open
Priority:Low
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:3.6.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:17139

Description

When printing a layout that contains a WMS, we get a warning about max size.
I think this is useless now, as the print driver automatically tiles up the WMS request, and can be confusing and misleading for users.
Better remove the warning.

History

#1 Updated by Paolo Cavallini over 10 years ago

  • Subject changed from Remove warning abouot WMS to Remove warning about WMS

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

  • Category changed from 33 to Map Composer/Printing

#3 Updated by Paolo Cavallini over 9 years ago

  • Tag set to easy

Still true

#4 Updated by Giovanni Manghi over 9 years ago

I'm not sure the composer automatically makes tiled requests.

#5 Updated by Anita Graser over 9 years ago

The warning is

Some WMS servers (e.g. UMN mapserver) have a limit for the WIDTH and HEIGHT parameter. 
Printing layers from such servers may exceed this limit. If this is the case, the WMS 
layer will not be printed

and imho it's more misleading than helpful because the reason why WMS do not print in my experience is if the output resolution is set to something bigger than 75 dpi. (Tested with http://data.wien.gv.at/daten/wms?service=WMS&request=GetCapabilities&version=1.1.1)

#6 Updated by Jukka Rahkonen over 9 years ago

What do you suggest for making the message more understandable for QGIS users? For me as a Mapserver user it does make sense and the current message probably tells what really happens: with screen size of, let's say, 800 x 600 pixels the raised output resolution leads to bigger WIDTH & HEIGHT (1600 x 1200 or so) in the GetMaps and MapServer will not send a map.

#7 Updated by Giovanni Manghi over 9 years ago

and imho it's more misleading than helpful because the reason why WMS do not print in my experience is if the output resolution is set to something bigger than 75 dpi. (

Hi Anita, this is not what I see, I can print layouts with WMS layers at above 75dpi. The limit should be set at server level, not a qgis issue.

Anyway regarding the original description: I does not seems to me that the print composer automatically tiles WMS layers. It does if of course it was choose to do it when the layer was added in the project using the WMS client and the option "tile size".

#8 Updated by Giovanni Manghi almost 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#9 Updated by Paolo Cavallini about 6 years ago

  • Description updated (diff)
  • Status changed from Open to Feedback

Unclear to me whether this has been solved.

#10 Updated by Giovanni Manghi about 6 years ago

  • Status changed from Feedback to Open

Paolo Cavallini wrote:

Unclear to me whether this has been solved.

I don't think the wms layers are automatically tiled. They are if in the client the user choose to add it with a tiling strategy. So the warning still makes sense and this ticket should be closed.

#11 Updated by Tilman Brock-Hesse almost 6 years ago

If the user does not set a tile size and QGIS requests tiles larger than MaxWidth and/or MaxHeight, problems will occur.

I have added Feature Request #19150 to use the max sizes from the getCapabilities response in the "Add WMS layer" dialog.

#12 Updated by Giovanni Manghi about 5 years ago

  • Status changed from Open to Closed
  • Resolution set to end of life

#13 Updated by Paolo Cavallini about 5 years ago

  • Resolution deleted (end of life)
  • Status changed from Closed to Reopened

#14 Updated by Giovanni Manghi about 5 years ago

  • Status changed from Reopened to Open

Please SET THE NEW AFFECTED VERSION.

#15 Updated by Paolo Cavallini about 5 years ago

  • Affected QGIS version changed from master to 3.6.0

Also available in: Atom PDF