Bug report #21742

Bbox of layer groups in WMS with empty layers

Added by Hugo Mercier 8 months ago. Updated 7 months ago.

Status:Open
Priority:Normal
Assignee:Paul Blottiere
Category:QGIS Server
Affected QGIS version:3.4.6 Regression?:No
Operating System:linux debian buster Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29557

Description

Following #5520, when a group contains a layer that is empty, the bbox of the empty layer is either the one declared in global settings or the maximum bbox of the layer's CRS. When an empty layer is contained in a group, the bbox of this group may then be the overall CRS bbox.

A better solution could be to ignore empty layers when computing the bbox of a group.

History

#1 Updated by Jürgen Fischer 7 months ago

  • Description updated (diff)

Also available in: Atom PDF