Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep external layers ordering #38548

Merged
merged 5 commits into from
Sep 3, 2020
Merged

Conversation

pblottiere
Copy link
Member

Description

The external layers management is now delegated to the QgsWmsRenderContext class in order to keep a correct order.

Unit tests have been updated to be more representative of real use cases (several layers and not only 1 external layer).

Fixes #35873.

@pblottiere
Copy link
Member Author

Hi @mhugent,

I added/updated unit tests to be more robust, but let me know if you have more ideas.

@github-actions github-actions bot added this to the 3.16.0 milestone Sep 2, 2020
@pblottiere pblottiere added Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server labels Sep 2, 2020
@mhugent
Copy link
Contributor

mhugent commented Sep 3, 2020

Thank you, works perfectly now.
Could you also backport these changes to the 3.10 branch?

@pblottiere
Copy link
Member Author

Hi @mhugent,

Thank you, works perfectly now.

Good, happy to hear that :).

Could you also backport these changes to the 3.10 branch?

I'll take a look of course, but it's not trivial changes so it could be risky. QGIS 3.16 is the next LTR and is released soon, do you absolutely need this fix for the 3.10 release?

@pblottiere pblottiere merged commit c0b295a into qgis:master Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QGIS Server GetPrint: EXTERNAL_WMS layer on top of QGIS layer
2 participants