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

2015-09-16 Thread Luca Manganelli
On Tue, Sep 15, 2015 at 5:17 PM, René-Luc Dhont wrote: > In Lizmap, user can specify Group as layer, which means that the group name It appears in OpenLayers, too. I had to reverse the order of layer in the QGIS project file in order to make it work...

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

2015-09-15 Thread Andreas Neumann
Hi René-Luc, Thank you for your reply! Will it change the order in the output of GetCapabilities and GetProjectSettings responses? You are right that we are sending leaf layers, no groups, in QGIS web client. Anyway - I will test and see if I'll need to change QGIS Web Client or not.

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

2015-09-15 Thread René-Luc Dhont
Hi Andreas and devs, My fixe does not affect the layer order fixed by the WMS LAYERS parameters. For exemple QGIS Web Client manage the layer order by building the WMS LAYERS parameters with all the layers and without groups. QGSI Web Client is not concerned by this fixe. In Lizmap, user

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

2015-09-15 Thread Andreas Neumann
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 -

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

2015-09-15 Thread René-Luc Dhont
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