Bug report #21917
QGIS server ignores custom rendering order when loading parent group
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Alessandro Pasotti | ||
Category: | QGIS Server | ||
Affected QGIS version: | 3.7(master) | Regression?: | Yes |
Operating System: | Linux | Easy fix?: | No |
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 29732 |
Description
When a project has custom layer rendering order (checkbox "control rendering order" enabled in the "layer order" panel), and the user loads the root layer as a single WMS layer in a WMS client (e.g. QGIS), the custom layer rendering order is not correctly taken into account.
Here is an example service, served with QGIS server 3.6.x (recent build) and attached are three screenshots: one with the connection parameters, the other two with the rendering as it should appear (original project files) and the other with the invalid rendering order when loading the service with the root layer. Note in the screenshot that point symbols (circles) should always be rendered on top, and also other layers are mixed up.
https://services.geo.zg.ch/ows/rp
The data source is Postgis. A Postgis dump-file and the project file will be provided to the person working on fixing the issue.
Associated revisions
[server] Respect custom layer order for groups in GetMap
Fixes #21917
Respect custom layer order for groups in GetMap
Backport of bugfix from master PR 9878
Fixes #21917
(cherry-picking commit 9ddbae6c68 from 3.6)
History
#1 Updated by Alessandro Pasotti over 5 years ago
- Assignee set to Alessandro Pasotti
#2 Updated by Alessandro Pasotti over 5 years ago
- Resolution set to fixed/implemented
- Pull Request or Patch supplied changed from No to Yes
- Status changed from Open to In Progress
#3 Updated by Alessandro Pasotti over 5 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
Applied in changeset qgis|956ed06f5222df208d1d37092916c9014c5cb419.