[Qgis-developer] QGIS Server : layer ordre from group

René-Luc Dhont rldhont at gmail.com
Tue Sep 15 07:50:34 PDT 2015


Hi devs and QGIS Server user,

I just fixed an issue in QGIS server and backport it to release-2_10 and 
release-2_8.
https://github.com/qgis/QGIS/commit/8948721991bf321fb7eb2da259790624183f619d
https://github.com/qgis/QGIS/commit/ae906b5eca9f99d7e4bd4e29e3b1bc4b49122be2
https://github.com/qgis/QGIS/commit/977d17751b9c05da1f09ed40d1cf27a97db5f534

If custom order is not enabled and a group is requested, layers was 
added in the DOM element order. The default rendering order is the 
reverse. To fix this issue, QgsWMSProjectParser::addLayersFromGroup has 
to read group element children from end (bottom) to start (top).

If you use QGIS server, I invite you to update your build.

Regards,
René-Luc


More information about the Qgis-developer mailing list