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

Andrea Peri aperi2007 at gmail.com
Fri Nov 14 11:38:13 PST 2014


Many thx Salvatore,

I try it.



2014-11-14 20:10 GMT+01:00 Salvatore Larosa <lrssvtml at gmail.com>:
> Hi Andrea,
>
> On Fri, Nov 14, 2014 at 9:42 AM, Salvatore Larosa <lrssvtml at 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 feature request?
>
> ok, for a workaround python is the road to go, you can use the
> snippets to the link [0] like a python macro into your project.
> Only change the group name (the groupName variable) which you want to
> apply to such feature.
>
> Best Regards,
> -SL
>
> [0] - http://codepad.org/BmYxVHgy
>
> --
> Salvatore Larosa
> linkedIn: http://linkedin.com/in/larosasalvatore
> twitter: @lrssvt
> skype: s.larosa
> IRC: lrssvt on freenode



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------



More information about the Qgis-user mailing list