Bug report #12484
QGIS Server: invalid list of of layers in "LayerDrawingOrder" when using embedded groups/layers
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Jürgen Fischer | ||
Category: | QGIS Server | ||
Affected QGIS version: | 2.8.1 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20632 |
Description
When using embedded groups/layers in a QGIS project, QGIS server does not include all individual layers in the element "LayerDrawingOrder" of the "GetProjectSettings" command. Some layers are ommitted. We need a complete list of every physical layer (not just groups) for QGIS web client in order to formulate correct WMS queries.
The image attached shows the correct layer order on the left in QGIS desktop and the invalid list in the web-browser showing the results of the "GetProjectSettings" command.
In my project I embed several groups in parallel from the same linked project.
This is a big problem for us because we use the embedded layers/groups a lot.
Associated revisions
server: fix 'LayerDrawingOrder' (fixes #12484)
server: fix 'LayerDrawingOrder' (fixes #12484)
cherry picked from de5a3f5 + 04324fd
History
#1 Updated by Jürgen Fischer over 9 years ago
- Status changed from Open to Closed
Fixed in changeset de5a3f5e59af724feafd312464b11015411e83ff.