Re: [Qgis-user] Switch on only 1 layer of a group

2014-11-14 Thread aperi2007
Hi Salvatore, thx for hint. It is a very interesting feature. I dont know it. But unfortunately it dont seem to be what I need. My need is showing the the user all the layer of a group. they are all wms layer of kind OFC ortophoto, and each of them cover all the land. So If perfectly

Re: [Qgis-user] Switch on only 1 layer of a group

2014-11-14 Thread Salvatore Larosa
Hi, On Fri, Nov 14, 2014 at 9:10 AM, aperi2007 aperi2...@gmail.com wrote: Hi Salvatore, thx for hint. It is a very interesting feature. I dont know it. But unfortunately it dont seem to be what I need. ok, my immagination was wrong :) My need is showing the the user all the layer of a

Re: [Qgis-user] Switch on only 1 layer of a group

2014-11-14 Thread Salvatore Larosa
Hi Andrea, On Fri, Nov 14, 2014 at 9:42 AM, Salvatore Larosa lrssv...@gmail.com wrote: No idea on how to do such an action from python but I think that should be handy to do from C++ to have it available in group context menu, something like a checkbox Alternate layers. maybe could you open a

Re: [Qgis-user] Switch on only 1 layer of a group

2014-11-14 Thread Andrea Peri
Many thx Salvatore, I try it. 2014-11-14 20:10 GMT+01:00 Salvatore Larosa lrssv...@gmail.com: Hi Andrea, On Fri, Nov 14, 2014 at 9:42 AM, Salvatore Larosa lrssv...@gmail.com wrote: No idea on how to do such an action from python but I think that should be handy to do from C++ to have it

[Qgis-user] Switch on only 1 layer of a group

2014-11-13 Thread Andrea Peri
Hi, I need to set a qgis project to turn on only 1 layer from a group. When a layer is turn on the others should be turn off. I guess this is not possibile from group properties, but is possibile to set an action to turn off every layer in a group other than the actual layer turn on ? Thxs,

Re: [Qgis-user] Switch on only 1 layer of a group

2014-11-13 Thread Zoltan Szecsei
Click the little '+' sign next to the group name and the group will open, and then you can turn each layer on or off at will. When you save that project it should remember which maps in that group were on or off. If you change that state and you (or your user) saves the project, then yes,

Re: [Qgis-user] Switch on only 1 layer of a group

2014-11-13 Thread Salvatore Larosa
Hi, On Fri, Nov 14, 2014 at 7:33 AM, Andrea Peri aperi2...@gmail.com wrote: Hi, I need to set a qgis project to turn on only 1 layer from a group. When a layer is turn on the others should be turn off. I guess this is not possibile from group properties, but is possibile to set an action to