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

Andreas Neumann a.neumann at carto.net
Tue Sep 15 08:14:20 PDT 2015


Hi René-Luc,

Thank you for the patch and the notice - do you know since when this bug 
was present. Probably since ages?

This change will basically mean that all QGIS Web Client users will have 
to patch their client at the same time they upgrade their server.

I am not against this change - I am just thinking about the 
consequences. I think we reversed rendering order on the client. If we 
don't communicate this properly - a lot of QGIS server/client users will 
run into this issue and will complain.

Andreas

On 15.09.2015 16:50, René-Luc Dhont wrote:
> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list