Re: [Qgis-user] Embed layers and groups

2019-05-07 Thread Paolo Cavallini
Hi Laurence,
known issue:
https://issues.qgis.org/issues/20460
Cheers.

On 08/05/19 05:33, Laurence Béchet wrote:
> Hi
> Has anyone tried to use lately the embed layers and groups with the
> latest qGIS versions?
> I have a project open. Select Layers/ Embed layers and groups: a window
> opens where i can select the qgz file I want to use. All the layers get
> listed. However if I select 1 layer or a group, nothing gets displayed.
> Am I doing something wrong?
> 
> Windows8 64 bits pro.
> QGIS version 3.4.7-Madeira QGIS code revision 5c56989325
> QGIS version 3.6.2-Noosa QGIS code revision 656500e0c4
> 
> Regards
> Laurence Bechet
> ARK IN THE PARK Volunteer Co-Ordinator
> Falls Road, Waitakere, Auckland
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 

-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Embed layers and groups

2017-03-13 Thread Fuenfer-Koenigstein.Benjamin
Hi

Another interesting point about the embed layers feature is how it reacts to 
project variables. I use project variables for colors, symbol sizes etc. a lot, 
for example many layers with similar colors, so I only have to change the 
variable and not the color in every layer. I just tested how embedded layers 
behave. Outcome: project variable in ‘child project’ is recognized by embedded 
layers. Means that if there is no variable with same name, default color/value 
of embedded layer is taken, if there is a variable with same name but different 
value, this value is taken.

Irrespective of that, I think the embed layers plugin (as already mentioned 
here) is absolutely underestimated until now. It’s a very powerful tool and can 
deliver lot of work saving and useful functionality. It might be worth to start 
a wider discussion about what people expect from it and which use cases the 
feature might be used for.

To start I describe one use case here:

I create a background map with complex styling using dozens of layers. First, I 
create the ‘super extended, very colorful’ version. Then, I will embed this 
main version in other projects to create different versions for different 
applications, for example a b/w version, a version with less information and 
pale colors, and another version with different labeling font. If I do major 
changes in the main version (for example change layer source or ad another 
class to rule based styling), they are adopted by child projects automatically. 
That’s very useful because I don’t have to maintain every version manually. 
This shows that it’s not always considered bad if changes in embedded layers 
are possible (as long as they don’t affect main project). But of course, 
individual control about which properties are read only and which can be 
overridden by child projects would be helpful.

Regards
Benjamin

Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von DelazJ
Gesendet: Samstag, 11. März 2017 11:04
An: Laurence Béchet
Cc: QGIS list
Betreff: Re: [Qgis-user] Embed layers and groups



2017-03-10 22:27 GMT+01:00 Laurence Béchet 
mailto:bechet.laure...@gmail.com>>:
Hi

What might be more worrisome is that these embedded layers can be edited in the 
'child' project and modified  another bug?
I'm not sure this is a bug. I'd expect to be able to modify the data (e.g. 
because the area i'm working on was not yet covered by the data). What you 
embed is the way the layer is set in the master project (its rendering and 
constraints).
However, recent QGIS have an option in Project Properties --> Identify features 
to set read-only a layer in the project and avoid features modification. Might 
be worth testing if this option is followed in the child project. If not, this 
would be a bug imho

Harrissou
Cheers
Laurence

On 11/03/2017 6:31 a.m., Régis Haubourg wrote:
Hi guys,
Paul Blottiere submitted a pull request to solve that issue here
https://github.com/qgis/QGIS/pull/4247

If it is doing the work and merged, that would deserve backporting to 2.18 
branch.

And yes that issue deserves to be more advertised and also extended to a 
unlinked "copy" mode.
Wiring it in browser would be a nice way to make it more known too.

Side note: There is already a plugin called layers menu from project to build 
menu shortcuts to other's project layers. I can't live without it now, pushing 
that into core would be nice, if someone's willing to fund that, qgis devs 
would probably be happy to tackle that



Le 10 mars 2017 3:19 PM, "Neumann, Andreas" 
mailto:a.neum...@carto.net>> a écrit :

Hi Harrissou,

Thanks for tackling this in the documentation.

Some remarks:

- embedded layers are shown with "italic" labels in the layer tree to 
distinguish them from regular layers.

- all layer properties are "read only", not only styling and labeling, but also 
any other properties, like field aliases, display values, actions, etc. That's 
why the layer properties can't be shown to avoid that the user changes stuff 
which can't be saved in the project.

- if the master project uses an alternative rendering order (defined in the 
layer order panel of the master project), the layer ordering in the project 
where the layers are embedded can only be retained "en bloc" and only if you 
embed the parent group and not individual layers

It may even be that you'll have to also activate the alternative rendering 
order in the client project if you want to retain, but I am not 100% sure. I 
just remember that it gave me headaches with the layer rendering order in the 
past, because it was a bit buggy. Should work well meanwhile though.

Andreas

On 2017-03-10 12:05, DelazJ wrote:
Hi,
Actually it's not a new feature. Has been there since (available in 1.8 
documentation 
http://docs.qgis.org/1.8/en/docs/user_manual/introduction/general_tools.

Re: [Qgis-user] Embed layers and groups

2017-03-11 Thread DelazJ
2017-03-10 22:27 GMT+01:00 Laurence Béchet :

> Hi
>
> What might be more worrisome is that these embedded layers can be edited
> in the 'child' project and modified  another bug?
>
> I'm not sure this is a bug. I'd expect to be able to modify the data (e.g.
because the area i'm working on was not yet covered by the data). What you
embed is the way the layer is set in the master project (its rendering and
constraints).

However, recent QGIS have an option in Project Properties --> Identify
features to set read-only a layer in the project and avoid features
modification. Might be worth testing if this option is followed in the
child project. If not, this would be a bug imho


Harrissou

> Cheers
> Laurence
>
>
> On 11/03/2017 6:31 a.m., Régis Haubourg wrote:
>
> Hi guys,
> Paul Blottiere submitted a pull request to solve that issue here
> https://github.com/qgis/QGIS/pull/4247
>
> If it is doing the work and merged, that would deserve backporting to 2.18
> branch.
>
> And yes that issue deserves to be more advertised and also extended to a
> unlinked "copy" mode.
> Wiring it in browser would be a nice way to make it more known too.
>
> Side note: There is already a plugin called layers menu from project to
> build menu shortcuts to other's project layers. I can't live without it
> now, pushing that into core would be nice, if someone's willing to fund
> that, qgis devs would probably be happy to tackle that
>
>
>
> Le 10 mars 2017 3:19 PM, "Neumann, Andreas"  a
> écrit :
>
>> Hi Harrissou,
>>
>> Thanks for tackling this in the documentation.
>>
>> Some remarks:
>>
>> - embedded layers are shown with "italic" labels in the layer tree to
>> distinguish them from regular layers.
>>
>> - all layer properties are "read only", not only styling and labeling,
>> but also any other properties, like field aliases, display values, actions,
>> etc. That's why the layer properties can't be shown to avoid that the user
>> changes stuff which can't be saved in the project.
>>
>> - if the master project uses an alternative rendering order (defined in
>> the layer order panel of the master project), the layer ordering in the
>> project where the layers are embedded can only be retained "en bloc" and
>> only if you embed the parent group and not individual layers
>>
>> It may even be that you'll have to also activate the alternative
>> rendering order in the client project if you want to retain, but I am not
>> 100% sure. I just remember that it gave me headaches with the layer
>> rendering order in the past, because it was a bit buggy. Should work well
>> meanwhile though.
>>
>> Andreas
>>
>> On 2017-03-10 12:05, DelazJ wrote:
>>
>> Hi,
>>
>> Actually it's not a new feature. Has been there since (available in
>> 1.8 documentation http://docs.qgis.org/1.8/en/do
>> cs/user_manual/introduction/general_tools.html#nesting-projects)
>> And as you can see, the documentation has neither been improved since.
>> Given your discussion I tried to put some highlights on the feature and
>> any review is welcome https://github.com/qgis/QGIS-D
>> ocumentation/issues/1748 I'm more a default style user than an embedded
>> layer one so if I miss some advantages in this feature please, let me know.
>>
>> Laurence, I didn't check if you had reported the issues yet, otherwise I
>> think removal of some items can be added:
>> - Layer menu --> Labeling
>> - when right-clicking an embedded layer --> Style.
>>
>> Given that the Layer Properties dialog is not availbale, there are some
>> actions like "Set Scale visibility of layer", "Set layer CRS", "Filter"
>> (that belong to the Properties --> General menu) that make me fail to
>> understand the real scope of an embedded layer. Are they supposed to be
>> grayed too or not? What kind of changes are really allowed on such a layer
>> or what is really kept from the "source" file?
>>
>> Thanks,
>> Harrissou
>>
>>
>> 2017-03-09 21:07 GMT+01:00 Laurence Béchet :
>>
>>> Thanks Andrea. I'll create them.
>>> These are not big issues and easy to work around as a user.
>>>
>>> I agree with you this new embedded layers feature is awesome and for
>>> little mapping projects like Ark in the Park they are very useful as I have
>>> my layout already ready and just need to add what i want to plots: bird
>>> territories or past control results or . Also if something in the
>>> layout changes (new track, pest control grid altered) I only need to modify
>>> the 'master' map and it is propagated to all the other maps. Worth a try!
>>>
>>> Kind regards
>>> Laurence
>>> ARK IN THE PARK Volunteer Co-Ordinator
>>> Cascades Ranger Station
>>> Falls Road, Waitakere
>>> Phone:  (09) 810 7014
>>> www.arkinthepark.org.nz  www.forestandbird.org.nz
>>>
>>> On 9/03/2017 10:58 p.m., Neumann, Andreas wrote:
>>>
>>> Hi Laurence,
>>>
>>> I can confirm both issues.
>>>
>>> Embedded groups show empty (without the layers, only the groups are
>>> displayed) in QGIS 3 and they are stylable in the styling dock in 2.18 when
>>> t

Re: [Qgis-user] Embed layers and groups

2017-03-11 Thread DelazJ
Hi,
Thanks Andreas for your comments.

2017-03-10 15:18 GMT+01:00 Neumann, Andreas :

> - embedded layers are shown with "italic" labels in the layer tree to
> distinguish them from regular layers.
>
Yes, I will add it
At some point, maybe we'll need to find another font, because italic is
currently also used for layers out of scale visibility, layers under
unchecked group (or something like that)

> - all layer properties are "read only", not only styling and labeling, but
> also any other properties, like field aliases, display values, actions,
> etc. That's why the layer properties can't be shown to avoid that the user
> changes stuff which can't be saved in the project.
>
Ok. Then the scale visibility and the layer filter or scr options being
available might also be bugs (though I agree with Laurence, being able to
play with different scale might be handy). Would be nice to have a clear
list of what's supposed to be kept unchanged from master project.

> - if the master project uses an alternative rendering order (defined in
> the layer order panel of the master project), the layer ordering in the
> project where the layers are embedded can only be retained "en bloc" and
> only if you embed the parent group and not individual layers
>
> It may even be that you'll have to also activate the alternative rendering
> order in the client project if you want to retain, but I am not 100% sure.
> I just remember that it gave me headaches with the layer rendering order in
> the past, because it was a bit buggy. Should work well meanwhile though.
>
In the doubt, I'd expect someone to test and get back to the list with the
needed requirements, to avoid wrong statement in the documentation.

All the best,
Harrissou

> Andreas
>
> On 2017-03-10 12:05, DelazJ wrote:
>
> Hi,
>
> Actually it's not a new feature. Has been there since (available in
> 1.8 documentation http://docs.qgis.org/1.8/en/do
> cs/user_manual/introduction/general_tools.html#nesting-projects)
> And as you can see, the documentation has neither been improved since.
> Given your discussion I tried to put some highlights on the feature and
> any review is welcome https://github.com/qgis/QGIS-D
> ocumentation/issues/1748 I'm more a default style user than an embedded
> layer one so if I miss some advantages in this feature please, let me know.
>
> Laurence, I didn't check if you had reported the issues yet, otherwise I
> think removal of some items can be added:
> - Layer menu --> Labeling
> - when right-clicking an embedded layer --> Style.
>
> Given that the Layer Properties dialog is not availbale, there are some
> actions like "Set Scale visibility of layer", "Set layer CRS", "Filter"
> (that belong to the Properties --> General menu) that make me fail to
> understand the real scope of an embedded layer. Are they supposed to be
> grayed too or not? What kind of changes are really allowed on such a layer
> or what is really kept from the "source" file?
>
> Thanks,
> Harrissou
>
>
> 2017-03-09 21:07 GMT+01:00 Laurence Béchet :
>
>> Thanks Andrea. I'll create them.
>> These are not big issues and easy to work around as a user.
>>
>> I agree with you this new embedded layers feature is awesome and for
>> little mapping projects like Ark in the Park they are very useful as I have
>> my layout already ready and just need to add what i want to plots: bird
>> territories or past control results or . Also if something in the
>> layout changes (new track, pest control grid altered) I only need to modify
>> the 'master' map and it is propagated to all the other maps. Worth a try!
>>
>> Kind regards
>> Laurence
>> ARK IN THE PARK Volunteer Co-Ordinator
>> Cascades Ranger Station
>> Falls Road, Waitakere
>> Phone:  (09) 810 7014
>> www.arkinthepark.org.nz  www.forestandbird.org.nz
>>
>> On 9/03/2017 10:58 p.m., Neumann, Andreas wrote:
>>
>> Hi Laurence,
>>
>> I can confirm both issues.
>>
>> Embedded groups show empty (without the layers, only the groups are
>> displayed) in QGIS 3 and they are stylable in the styling dock in 2.18 when
>> they shouldn't be stylable.
>>
>> However, if your restyle embedded layers in the styling dock, they are,
>> of course not saved back to the original layers. This would be dangerous
>> and probably unwanted in most cases.
>>
>> The styling dock is fairly new and probably the devs where not aware
>> about the embedded layers feature.
>>
>> Can you please issue bug reports for both issues?
>>
>> Embedded layers and groups are probably not used that much in the wild,
>> but I find them incredibly useful. It is one of my favourite QGIS feature
>> and saves you tons of work if you can re-use background layers from other
>> projects, while still being able to identify these layers or snap to them.
>>
>> Unfortunately, many users and devs are not aware of this feature and it
>> doesn't get much attention.
>>
>> Thanks,
>>
>> Andreas
>>
>> On 2017-03-08 22:10, Laurence Béchet wrote:
>>
>> Hi,
>>
>> I'm trying to use the embed l

Re: [Qgis-user] Embed layers and groups

2017-03-10 Thread Laurence Béchet

Hi

I created 2 bugs and linked the pull request to one of them:
Bug report #16339: Embedded layer style and labels properties can be 
modified within the layer styling panel
Bug report #16340: Layers within an embedded group are not displayed on 
the map


Also as Harrissou pointed out, the set CRS of layer(s) and Set scale 
visibility of layer(s) from the Layer menu do work with embedded layers 
although they can be found in the blocked Layer Property window 
(General/CRS and General/scale dependent visibility). Whether it is a 
normal behaviour or not, I don't know but could be handy. But playing 
with labels can also handy but not part of the features of an embedded 
layer if they are supposed to be 'read only'.


What might be more worrisome is that these embedded layers can be edited 
in the 'child' project and modified  another bug?


Cheers
Laurence

On 11/03/2017 6:31 a.m., Régis Haubourg wrote:

Hi guys,
Paul Blottiere submitted a pull request to solve that issue here
https://github.com/qgis/QGIS/pull/4247

If it is doing the work and merged, that would deserve backporting to 
2.18 branch.


And yes that issue deserves to be more advertised and also extended to 
a unlinked "copy" mode.

Wiring it in browser would be a nice way to make it more known too.

Side note: There is already a plugin called layers menu from project 
to build menu shortcuts to other's project layers. I can't live 
without it now, pushing that into core would be nice, if someone's 
willing to fund that, qgis devs would probably be happy to tackle that




Le 10 mars 2017 3:19 PM, "Neumann, Andreas" > a écrit :


Hi Harrissou,

Thanks for tackling this in the documentation.

Some remarks:

- embedded layers are shown with "italic" labels in the layer tree
to distinguish them from regular layers.

- all layer properties are "read only", not only styling and
labeling, but also any other properties, like field aliases,
display values, actions, etc. That's why the layer properties
can't be shown to avoid that the user changes stuff which can't be
saved in the project.

- if the master project uses an alternative rendering order
(defined in the layer order panel of the master project), the
layer ordering in the project where the layers are embedded can
only be retained "en bloc" and only if you embed the parent group
and not individual layers

It may even be that you'll have to also activate the alternative
rendering order in the client project if you want to retain, but I
am not 100% sure. I just remember that it gave me headaches with
the layer rendering order in the past, because it was a bit buggy.
Should work well meanwhile though.

Andreas

On 2017-03-10 12:05, DelazJ wrote:


Hi,

Actually it's not a new feature. Has been there since
(available in 1.8 documentation

http://docs.qgis.org/1.8/en/docs/user_manual/introduction/general_tools.html#nesting-projects

)
And as you can see, the documentation has neither been improved
since.
Given your discussion I tried to put some highlights on the
feature and any review is welcome
https://github.com/qgis/QGIS-Documentation/issues/1748
 I'm more
a default style user than an embedded layer one so if I miss some
advantages in this feature please, let me know.

Laurence, I didn't check if you had reported the issues yet,
otherwise I think removal of some items can be added:
- Layer menu --> Labeling
- when right-clicking an embedded layer --> Style.

Given that the Layer Properties dialog is not availbale, there
are some actions like "Set Scale visibility of layer", "Set layer
CRS", "Filter" (that belong to the Properties --> General menu)
that make me fail to understand the real scope of an embedded
layer. Are they supposed to be grayed too or not? What kind of
changes are really allowed on such a layer or what is really kept
from the "source" file?

Thanks,
Harrissou

2017-03-09 21:07 GMT+01:00 Laurence Béchet
mailto:bechet.laure...@gmail.com>>:

Thanks Andrea. I'll create them.
These are not big issues and easy to work around as a user.

I agree with you this new embedded layers feature is awesome
and for little mapping projects like Ark in the Park they are
very useful as I have my layout already ready and just need
to add what i want to plots: bird territories or past control
results or . Also if something in the layout changes (new
track, pest control grid altered) I only need to modify the
'master' map and it is propagated to all the other maps.
Worth a try!

Kind regards
Laurence
ARK IN THE 

Re: [Qgis-user] Embed layers and groups

2017-03-10 Thread Régis Haubourg
Oh yes, I just saw that but didn't test it yet. Good move indeed!

Le 10 mars 2017 7:40 PM, "Germán Carrillo"  a
écrit :

> Hi All,
>
> just to let you know that I recently wrote a plugin called "Copy layers
> and groups to clipboard", which also creates an "unlinked copy" of
> layers/groups from other projects.
>
> Regards,
>
> Germán
> 
> [1] http://plugins.qgis.org/plugins/CopyLayersAndGroupsToClipboard/
>
> 2017-03-10 12:31 GMT-05:00 Régis Haubourg :
>
>> Hi guys,
>> Paul Blottiere submitted a pull request to solve that issue here
>> https://github.com/qgis/QGIS/pull/4247
>>
>> If it is doing the work and merged, that would deserve backporting to
>> 2.18 branch.
>>
>> And yes that issue deserves to be more advertised and also extended to a
>> unlinked "copy" mode.
>> Wiring it in browser would be a nice way to make it more known too.
>>
>> Side note: There is already a plugin called layers menu from project to
>> build menu shortcuts to other's project layers. I can't live without it
>> now, pushing that into core would be nice, if someone's willing to fund
>> that, qgis devs would probably be happy to tackle that
>>
>>
>>
>> Le 10 mars 2017 3:19 PM, "Neumann, Andreas"  a
>> écrit :
>>
>>> Hi Harrissou,
>>>
>>> Thanks for tackling this in the documentation.
>>>
>>> Some remarks:
>>>
>>> - embedded layers are shown with "italic" labels in the layer tree to
>>> distinguish them from regular layers.
>>>
>>> - all layer properties are "read only", not only styling and labeling,
>>> but also any other properties, like field aliases, display values, actions,
>>> etc. That's why the layer properties can't be shown to avoid that the user
>>> changes stuff which can't be saved in the project.
>>>
>>> - if the master project uses an alternative rendering order (defined in
>>> the layer order panel of the master project), the layer ordering in the
>>> project where the layers are embedded can only be retained "en bloc" and
>>> only if you embed the parent group and not individual layers
>>>
>>> It may even be that you'll have to also activate the alternative
>>> rendering order in the client project if you want to retain, but I am not
>>> 100% sure. I just remember that it gave me headaches with the layer
>>> rendering order in the past, because it was a bit buggy. Should work well
>>> meanwhile though.
>>>
>>> Andreas
>>>
>>> On 2017-03-10 12:05, DelazJ wrote:
>>>
>>> Hi,
>>>
>>> Actually it's not a new feature. Has been there since (available in
>>> 1.8 documentation http://docs.qgis.org/1.8/en/do
>>> cs/user_manual/introduction/general_tools.html#nesting-projects)
>>> And as you can see, the documentation has neither been improved since.
>>> Given your discussion I tried to put some highlights on the feature and
>>> any review is welcome https://github.com/qgis/QGIS-D
>>> ocumentation/issues/1748 I'm more a default style user than an embedded
>>> layer one so if I miss some advantages in this feature please, let me know.
>>>
>>> Laurence, I didn't check if you had reported the issues yet, otherwise I
>>> think removal of some items can be added:
>>> - Layer menu --> Labeling
>>> - when right-clicking an embedded layer --> Style.
>>>
>>> Given that the Layer Properties dialog is not availbale, there are some
>>> actions like "Set Scale visibility of layer", "Set layer CRS", "Filter"
>>> (that belong to the Properties --> General menu) that make me fail to
>>> understand the real scope of an embedded layer. Are they supposed to be
>>> grayed too or not? What kind of changes are really allowed on such a layer
>>> or what is really kept from the "source" file?
>>>
>>> Thanks,
>>> Harrissou
>>>
>>>
>>> 2017-03-09 21:07 GMT+01:00 Laurence Béchet :
>>>
 Thanks Andrea. I'll create them.
 These are not big issues and easy to work around as a user.

 I agree with you this new embedded layers feature is awesome and for
 little mapping projects like Ark in the Park they are very useful as I have
 my layout already ready and just need to add what i want to plots: bird
 territories or past control results or . Also if something in the
 layout changes (new track, pest control grid altered) I only need to modify
 the 'master' map and it is propagated to all the other maps. Worth a try!

 Kind regards
 Laurence
 ARK IN THE PARK Volunteer Co-Ordinator
 Cascades Ranger Station
 Falls Road, Waitakere
 Phone:  (09) 810 7014
 www.arkinthepark.org.nz  www.forestandbird.org.nz

 On 9/03/2017 10:58 p.m., Neumann, Andreas wrote:

 Hi Laurence,

 I can confirm both issues.

 Embedded groups show empty (without the layers, only the groups are
 displayed) in QGIS 3 and they are stylable in the styling dock in 2.18 when
 they shouldn't be stylable.

 However, if your restyle embedded layers in the styling dock, they are,
 of course not saved back to the original layers. This would be dangerous
 and

Re: [Qgis-user] Embed layers and groups

2017-03-10 Thread Germán Carrillo
Hi All,

just to let you know that I recently wrote a plugin called "Copy layers and
groups to clipboard", which also creates an "unlinked copy" of
layers/groups from other projects.

Regards,

Germán

[1] http://plugins.qgis.org/plugins/CopyLayersAndGroupsToClipboard/

2017-03-10 12:31 GMT-05:00 Régis Haubourg :

> Hi guys,
> Paul Blottiere submitted a pull request to solve that issue here
> https://github.com/qgis/QGIS/pull/4247
>
> If it is doing the work and merged, that would deserve backporting to 2.18
> branch.
>
> And yes that issue deserves to be more advertised and also extended to a
> unlinked "copy" mode.
> Wiring it in browser would be a nice way to make it more known too.
>
> Side note: There is already a plugin called layers menu from project to
> build menu shortcuts to other's project layers. I can't live without it
> now, pushing that into core would be nice, if someone's willing to fund
> that, qgis devs would probably be happy to tackle that
>
>
>
> Le 10 mars 2017 3:19 PM, "Neumann, Andreas"  a
> écrit :
>
>> Hi Harrissou,
>>
>> Thanks for tackling this in the documentation.
>>
>> Some remarks:
>>
>> - embedded layers are shown with "italic" labels in the layer tree to
>> distinguish them from regular layers.
>>
>> - all layer properties are "read only", not only styling and labeling,
>> but also any other properties, like field aliases, display values, actions,
>> etc. That's why the layer properties can't be shown to avoid that the user
>> changes stuff which can't be saved in the project.
>>
>> - if the master project uses an alternative rendering order (defined in
>> the layer order panel of the master project), the layer ordering in the
>> project where the layers are embedded can only be retained "en bloc" and
>> only if you embed the parent group and not individual layers
>>
>> It may even be that you'll have to also activate the alternative
>> rendering order in the client project if you want to retain, but I am not
>> 100% sure. I just remember that it gave me headaches with the layer
>> rendering order in the past, because it was a bit buggy. Should work well
>> meanwhile though.
>>
>> Andreas
>>
>> On 2017-03-10 12:05, DelazJ wrote:
>>
>> Hi,
>>
>> Actually it's not a new feature. Has been there since (available in
>> 1.8 documentation http://docs.qgis.org/1.8/en/do
>> cs/user_manual/introduction/general_tools.html#nesting-projects)
>> And as you can see, the documentation has neither been improved since.
>> Given your discussion I tried to put some highlights on the feature and
>> any review is welcome https://github.com/qgis/QGIS-D
>> ocumentation/issues/1748 I'm more a default style user than an embedded
>> layer one so if I miss some advantages in this feature please, let me know.
>>
>> Laurence, I didn't check if you had reported the issues yet, otherwise I
>> think removal of some items can be added:
>> - Layer menu --> Labeling
>> - when right-clicking an embedded layer --> Style.
>>
>> Given that the Layer Properties dialog is not availbale, there are some
>> actions like "Set Scale visibility of layer", "Set layer CRS", "Filter"
>> (that belong to the Properties --> General menu) that make me fail to
>> understand the real scope of an embedded layer. Are they supposed to be
>> grayed too or not? What kind of changes are really allowed on such a layer
>> or what is really kept from the "source" file?
>>
>> Thanks,
>> Harrissou
>>
>>
>> 2017-03-09 21:07 GMT+01:00 Laurence Béchet :
>>
>>> Thanks Andrea. I'll create them.
>>> These are not big issues and easy to work around as a user.
>>>
>>> I agree with you this new embedded layers feature is awesome and for
>>> little mapping projects like Ark in the Park they are very useful as I have
>>> my layout already ready and just need to add what i want to plots: bird
>>> territories or past control results or . Also if something in the
>>> layout changes (new track, pest control grid altered) I only need to modify
>>> the 'master' map and it is propagated to all the other maps. Worth a try!
>>>
>>> Kind regards
>>> Laurence
>>> ARK IN THE PARK Volunteer Co-Ordinator
>>> Cascades Ranger Station
>>> Falls Road, Waitakere
>>> Phone:  (09) 810 7014
>>> www.arkinthepark.org.nz  www.forestandbird.org.nz
>>>
>>> On 9/03/2017 10:58 p.m., Neumann, Andreas wrote:
>>>
>>> Hi Laurence,
>>>
>>> I can confirm both issues.
>>>
>>> Embedded groups show empty (without the layers, only the groups are
>>> displayed) in QGIS 3 and they are stylable in the styling dock in 2.18 when
>>> they shouldn't be stylable.
>>>
>>> However, if your restyle embedded layers in the styling dock, they are,
>>> of course not saved back to the original layers. This would be dangerous
>>> and probably unwanted in most cases.
>>>
>>> The styling dock is fairly new and probably the devs where not aware
>>> about the embedded layers feature.
>>>
>>> Can you please issue bug reports for both issues?
>>>
>>> Embedded layers and groups are probably

Re: [Qgis-user] Embed layers and groups

2017-03-10 Thread Régis Haubourg
Hi guys,
Paul Blottiere submitted a pull request to solve that issue here
https://github.com/qgis/QGIS/pull/4247

If it is doing the work and merged, that would deserve backporting to 2.18
branch.

And yes that issue deserves to be more advertised and also extended to a
unlinked "copy" mode.
Wiring it in browser would be a nice way to make it more known too.

Side note: There is already a plugin called layers menu from project to
build menu shortcuts to other's project layers. I can't live without it
now, pushing that into core would be nice, if someone's willing to fund
that, qgis devs would probably be happy to tackle that



Le 10 mars 2017 3:19 PM, "Neumann, Andreas"  a écrit :

> Hi Harrissou,
>
> Thanks for tackling this in the documentation.
>
> Some remarks:
>
> - embedded layers are shown with "italic" labels in the layer tree to
> distinguish them from regular layers.
>
> - all layer properties are "read only", not only styling and labeling, but
> also any other properties, like field aliases, display values, actions,
> etc. That's why the layer properties can't be shown to avoid that the user
> changes stuff which can't be saved in the project.
>
> - if the master project uses an alternative rendering order (defined in
> the layer order panel of the master project), the layer ordering in the
> project where the layers are embedded can only be retained "en bloc" and
> only if you embed the parent group and not individual layers
>
> It may even be that you'll have to also activate the alternative rendering
> order in the client project if you want to retain, but I am not 100% sure.
> I just remember that it gave me headaches with the layer rendering order in
> the past, because it was a bit buggy. Should work well meanwhile though.
>
> Andreas
>
> On 2017-03-10 12:05, DelazJ wrote:
>
> Hi,
>
> Actually it's not a new feature. Has been there since (available in
> 1.8 documentation http://docs.qgis.org/1.8/en/
> docs/user_manual/introduction/general_tools.html#nesting-projects)
> And as you can see, the documentation has neither been improved since.
> Given your discussion I tried to put some highlights on the feature and
> any review is welcome https://github.com/qgis/QGIS-
> Documentation/issues/1748 I'm more a default style user than an embedded
> layer one so if I miss some advantages in this feature please, let me know.
>
> Laurence, I didn't check if you had reported the issues yet, otherwise I
> think removal of some items can be added:
> - Layer menu --> Labeling
> - when right-clicking an embedded layer --> Style.
>
> Given that the Layer Properties dialog is not availbale, there are some
> actions like "Set Scale visibility of layer", "Set layer CRS", "Filter"
> (that belong to the Properties --> General menu) that make me fail to
> understand the real scope of an embedded layer. Are they supposed to be
> grayed too or not? What kind of changes are really allowed on such a layer
> or what is really kept from the "source" file?
>
> Thanks,
> Harrissou
>
>
> 2017-03-09 21:07 GMT+01:00 Laurence Béchet :
>
>> Thanks Andrea. I'll create them.
>> These are not big issues and easy to work around as a user.
>>
>> I agree with you this new embedded layers feature is awesome and for
>> little mapping projects like Ark in the Park they are very useful as I have
>> my layout already ready and just need to add what i want to plots: bird
>> territories or past control results or . Also if something in the
>> layout changes (new track, pest control grid altered) I only need to modify
>> the 'master' map and it is propagated to all the other maps. Worth a try!
>>
>> Kind regards
>> Laurence
>> ARK IN THE PARK Volunteer Co-Ordinator
>> Cascades Ranger Station
>> Falls Road, Waitakere
>> Phone:  (09) 810 7014
>> www.arkinthepark.org.nz  www.forestandbird.org.nz
>>
>> On 9/03/2017 10:58 p.m., Neumann, Andreas wrote:
>>
>> Hi Laurence,
>>
>> I can confirm both issues.
>>
>> Embedded groups show empty (without the layers, only the groups are
>> displayed) in QGIS 3 and they are stylable in the styling dock in 2.18 when
>> they shouldn't be stylable.
>>
>> However, if your restyle embedded layers in the styling dock, they are,
>> of course not saved back to the original layers. This would be dangerous
>> and probably unwanted in most cases.
>>
>> The styling dock is fairly new and probably the devs where not aware
>> about the embedded layers feature.
>>
>> Can you please issue bug reports for both issues?
>>
>> Embedded layers and groups are probably not used that much in the wild,
>> but I find them incredibly useful. It is one of my favourite QGIS feature
>> and saves you tons of work if you can re-use background layers from other
>> projects, while still being able to identify these layers or snap to them.
>>
>> Unfortunately, many users and devs are not aware of this feature and it
>> doesn't get much attention.
>>
>> Thanks,
>>
>> Andreas
>>
>> On 2017-03-08 22:10, Laurence Béchet wrote:
>>
>> Hi,

Re: [Qgis-user] Embed layers and groups

2017-03-10 Thread Neumann, Andreas
Hi Harrissou, 

Thanks for tackling this in the documentation. 

Some remarks: 

- embedded layers are shown with "italic" labels in the layer tree to
distinguish them from regular layers. 

- all layer properties are "read only", not only styling and labeling,
but also any other properties, like field aliases, display values,
actions, etc. That's why the layer properties can't be shown to avoid
that the user changes stuff which can't be saved in the project. 

- if the master project uses an alternative rendering order (defined in
the layer order panel of the master project), the layer ordering in the
project where the layers are embedded can only be retained "en bloc" and
only if you embed the parent group and not individual layers 

It may even be that you'll have to also activate the alternative
rendering order in the client project if you want to retain, but I am
not 100% sure. I just remember that it gave me headaches with the layer
rendering order in the past, because it was a bit buggy. Should work
well meanwhile though. 

Andreas 

On 2017-03-10 12:05, DelazJ wrote:

> Hi,
> 
> Actually it's not a new feature. Has been there since (available in 1.8 
> documentation 
> http://docs.qgis.org/1.8/en/docs/user_manual/introduction/general_tools.html#nesting-projects)
>  And as you can see, the documentation has neither been improved since. Given 
> your discussion I tried to put some highlights on the feature and any review 
> is welcome https://github.com/qgis/QGIS-Documentation/issues/1748 I'm more a 
> default style user than an embedded layer one so if I miss some advantages in 
> this feature please, let me know.
> 
> Laurence, I didn't check if you had reported the issues yet, otherwise I 
> think removal of some items can be added:
> - Layer menu --> Labeling
> - when right-clicking an embedded layer --> Style.
> 
> Given that the Layer Properties dialog is not availbale, there are some 
> actions like "Set Scale visibility of layer", "Set layer CRS", "Filter" (that 
> belong to the Properties --> General menu) that make me fail to understand 
> the real scope of an embedded layer. Are they supposed to be grayed too or 
> not? What kind of changes are really allowed on such a layer or what is 
> really kept from the "source" file?
> 
> Thanks,
> Harrissou 
> 
> 2017-03-09 21:07 GMT+01:00 Laurence Béchet :
> 
> Thanks Andrea. I'll create them. 
> These are not big issues and easy to work around as a user. 
> 
> I agree with you this new embedded layers feature is awesome and for little 
> mapping projects like Ark in the Park they are very useful as I have my 
> layout already ready and just need to add what i want to plots: bird 
> territories or past control results or . Also if something in the layout 
> changes (new track, pest control grid altered) I only need to modify the 
> 'master' map and it is propagated to all the other maps. Worth a try!
> 
> Kind regards
> Laurence
> ARK IN THE PARK Volunteer Co-Ordinator
> Cascades Ranger Station
> Falls Road, Waitakere
> Phone:  (09) 810 7014
> www.arkinthepark.org.nz [1]  www.forestandbird.org.nz [2]  
> 
> On 9/03/2017 10:58 p.m., Neumann, Andreas wrote: 
> 
> Hi Laurence, 
> 
> I can confirm both issues. 
> 
> Embedded groups show empty (without the layers, only the groups are 
> displayed) in QGIS 3 and they are stylable in the styling dock in 2.18 when 
> they shouldn't be stylable. 
> 
> However, if your restyle embedded layers in the styling dock, they are, of 
> course not saved back to the original layers. This would be dangerous and 
> probably unwanted in most cases. 
> 
> The styling dock is fairly new and probably the devs where not aware about 
> the embedded layers feature. 
> 
> Can you please issue bug reports for both issues? 
> 
> Embedded layers and groups are probably not used that much in the wild, but I 
> find them incredibly useful. It is one of my favourite QGIS feature and saves 
> you tons of work if you can re-use background layers from other projects, 
> while still being able to identify these layers or snap to them. 
> 
> Unfortunately, many users and devs are not aware of this feature and it 
> doesn't get much attention. 
> 
> Thanks, 
> 
> Andreas 
> 
> On 2017-03-08 22:10, Laurence Béchet wrote: Hi,
> 
> I'm trying to use the embed layers and groups feature. 
> I'm running on Windows8 pro 64bits. 
> I have created a new project and I am loading a group of layers which are my 
> background (streams, lakes, etc ..) in a main project.
> 
> QGIS 2.18.4 QGIS code revision 59c1d21:
> I get the group loaded nicely. As expected, I cannot access the properties if 
> I double click on the layer. However, if I have the layer styling panel open, 
> I can change the style ... I have not checked what happens to the main 
> project.  Question 1: Is this normal? 
> 
> QGIS version 2.99.0-Master QGIS code revision 5a543e4: 
> The group appears in the layers panel but none of the layers are displayed. 
> Question 2: Is thi

Re: [Qgis-user] Embed layers and groups

2017-03-10 Thread DelazJ
Hi,

Actually it's not a new feature. Has been there since (available in 1.8
documentation
http://docs.qgis.org/1.8/en/docs/user_manual/introduction/general_tools.html#nesting-projects
)
And as you can see, the documentation has neither been improved since.
Given your discussion I tried to put some highlights on the feature and any
review is welcome https://github.com/qgis/QGIS-Documentation/issues/1748
I'm more a default style user than an embedded layer one so if I miss some
advantages in this feature please, let me know.

Laurence, I didn't check if you had reported the issues yet, otherwise I
think removal of some items can be added:
- Layer menu --> Labeling
- when right-clicking an embedded layer --> Style.

Given that the Layer Properties dialog is not availbale, there are some
actions like "Set Scale visibility of layer", "Set layer CRS", "Filter"
(that belong to the Properties --> General menu) that make me fail to
understand the real scope of an embedded layer. Are they supposed to be
grayed too or not? What kind of changes are really allowed on such a layer
or what is really kept from the "source" file?

Thanks,
Harrissou


2017-03-09 21:07 GMT+01:00 Laurence Béchet :

> Thanks Andrea. I'll create them.
> These are not big issues and easy to work around as a user.
>
> I agree with you this new embedded layers feature is awesome and for
> little mapping projects like Ark in the Park they are very useful as I have
> my layout already ready and just need to add what i want to plots: bird
> territories or past control results or . Also if something in the
> layout changes (new track, pest control grid altered) I only need to modify
> the 'master' map and it is propagated to all the other maps. Worth a try!
>
> Kind regards
> Laurence
> ARK IN THE PARK Volunteer Co-Ordinator
> Cascades Ranger Station
> Falls Road, Waitakere
> Phone:  (09) 810 7014
> www.arkinthepark.org.nz  www.forestandbird.org.nz
>
> On 9/03/2017 10:58 p.m., Neumann, Andreas wrote:
>
> Hi Laurence,
>
> I can confirm both issues.
>
> Embedded groups show empty (without the layers, only the groups are
> displayed) in QGIS 3 and they are stylable in the styling dock in 2.18 when
> they shouldn't be stylable.
>
> However, if your restyle embedded layers in the styling dock, they are, of
> course not saved back to the original layers. This would be dangerous and
> probably unwanted in most cases.
>
> The styling dock is fairly new and probably the devs where not aware about
> the embedded layers feature.
>
> Can you please issue bug reports for both issues?
>
> Embedded layers and groups are probably not used that much in the wild,
> but I find them incredibly useful. It is one of my favourite QGIS feature
> and saves you tons of work if you can re-use background layers from other
> projects, while still being able to identify these layers or snap to them.
>
> Unfortunately, many users and devs are not aware of this feature and it
> doesn't get much attention.
>
> Thanks,
>
> Andreas
>
> On 2017-03-08 22:10, Laurence Béchet wrote:
>
> Hi,
>
> I'm trying to use the embed layers and groups feature.
> I'm running on Windows8 pro 64bits.
> I have created a new project and I am loading a group of layers which are
> my background (streams, lakes, etc ..) in a main project.
>
> QGIS 2.18.4 QGIS code revision 59c1d21:
> I get the group loaded nicely. As expected, I cannot access the properties
> if I double click on the layer. However, if I have the layer styling panel
> open, I can change the style ... I have not checked what happens to the
> main project.  Question 1: Is this normal?
>
> QGIS version 2.99.0-Master QGIS code revision 5a543e4:
> The group appears in the layers panel but none of the layers are
> displayed. Question 2: Is this normal?
>
> Kind regards
> Laurence Bechet
>
> ARK IN THE PARK Volunteer Co-Ordinator
> Cascades Ranger Station
> Falls Road, Waitakere
> Phone:  (09) 810 7014
> www.arkinthepark.org.nz  www.forestandbird.org.nz
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Embed layers and groups

2017-03-09 Thread Laurence Béchet

Thanks Andrea. I'll create them.
These are not big issues and easy to work around as a user.

I agree with you this new embedded layers feature is awesome and for 
little mapping projects like Ark in the Park they are very useful as I 
have my layout already ready and just need to add what i want to plots: 
bird territories or past control results or . Also if something in 
the layout changes (new track, pest control grid altered) I only need to 
modify the 'master' map and it is propagated to all the other maps. 
Worth a try!


Kind regards
Laurence
ARK IN THE PARK Volunteer Co-Ordinator
Cascades Ranger Station
Falls Road, Waitakere
Phone:  (09) 810 7014
www.arkinthepark.org.nz www.forestandbird.org.nz

On 9/03/2017 10:58 p.m., Neumann, Andreas wrote:


Hi Laurence,

I can confirm both issues.

Embedded groups show empty (without the layers, only the groups are 
displayed) in QGIS 3 and they are stylable in the styling dock in 2.18 
when they shouldn't be stylable.


However, if your restyle embedded layers in the styling dock, they 
are, of course not saved back to the original layers. This would be 
dangerous and probably unwanted in most cases.


The styling dock is fairly new and probably the devs where not aware 
about the embedded layers feature.


Can you please issue bug reports for both issues?

Embedded layers and groups are probably not used that much in the 
wild, but I find them incredibly useful. It is one of my favourite 
QGIS feature and saves you tons of work if you can re-use background 
layers from other projects, while still being able to identify these 
layers or snap to them.


Unfortunately, many users and devs are not aware of this feature and 
it doesn't get much attention.


Thanks,

Andreas

On 2017-03-08 22:10, Laurence Béchet wrote:


Hi,

I'm trying to use the embed layers and groups feature.
I'm running on Windows8 pro 64bits.
I have created a new project and I am loading a group of layers which 
are my background (streams, lakes, etc ..) in a main project.


QGIS 2.18.4 QGIS code revision 59c1d21:
I get the group loaded nicely. As expected, I cannot access the 
properties if I double click on the layer. However, if I have the 
layer styling panel open, I can change the style ... I have not 
checked what happens to the main project.  Question 1: Is this normal?


QGIS version 2.99.0-Master QGIS code revision 5a543e4:
The group appears in the layers panel but none of the layers are 
displayed. Question 2: Is this normal?


Kind regards
Laurence Bechet

ARK IN THE PARK Volunteer Co-Ordinator
Cascades Ranger Station
Falls Road, Waitakere
Phone:  (09) 810 7014
www.arkinthepark.org.nz www.forestandbird.org.nz

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org 
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Embed layers and groups

2017-03-09 Thread Neumann, Andreas
Hi Laurence, 

I can confirm both issues. 

Embedded groups show empty (without the layers, only the groups are
displayed) in QGIS 3 and they are stylable in the styling dock in 2.18
when they shouldn't be stylable. 

However, if your restyle embedded layers in the styling dock, they are,
of course not saved back to the original layers. This would be dangerous
and probably unwanted in most cases. 

The styling dock is fairly new and probably the devs where not aware
about the embedded layers feature. 

Can you please issue bug reports for both issues? 

Embedded layers and groups are probably not used that much in the wild,
but I find them incredibly useful. It is one of my favourite QGIS
feature and saves you tons of work if you can re-use background layers
from other projects, while still being able to identify these layers or
snap to them. 

Unfortunately, many users and devs are not aware of this feature and it
doesn't get much attention. 

Thanks, 

Andreas 

On 2017-03-08 22:10, Laurence Béchet wrote:

> Hi,
> 
> I'm trying to use the embed layers and groups feature. 
> I'm running on Windows8 pro 64bits. 
> I have created a new project and I am loading a group of layers which are my 
> background (streams, lakes, etc ..) in a main project.
> 
> QGIS 2.18.4 QGIS code revision 59c1d21:
> I get the group loaded nicely. As expected, I cannot access the properties if 
> I double click on the layer. However, if I have the layer styling panel open, 
> I can change the style ... I have not checked what happens to the main 
> project.  Question 1: Is this normal? 
> 
> QGIS version 2.99.0-Master QGIS code revision 5a543e4: 
> The group appears in the layers panel but none of the layers are displayed. 
> Question 2: Is this normal?
> 
> Kind regards
> Laurence Bechet
> 
> ARK IN THE PARK Volunteer Co-Ordinator
> Cascades Ranger Station
> Falls Road, Waitakere
> Phone:  (09) 810 7014
> www.arkinthepark.org.nz [1]  www.forestandbird.org.nz [2]  
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

  

Links:
--
[1] http://www.arkinthepark.org.nz
[2] http://www.forestandbird.org.nz
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Embed layers and groups

2017-03-09 Thread Paolo Cavallini
Hi Laurence

Il 08/03/2017 22:10, Laurence Béchet ha scritto:

> QGIS 2.18.4 QGIS code revision 59c1d21:
> I get the group loaded nicely. As expected, I cannot access the
> properties if I double click on the layer. However, if I have the layer
> styling panel open, I can change the style ... I have not checked what
> happens to the main project.  Question 1: Is this normal?

IMHO not

> QGIS version 2.99.0-Master QGIS code revision 5a543e4:
> The group appears in the layers panel but none of the layers are
> displayed. Question 2: Is this normal?

Neither

If confirmed, these are bugs. Coul anyone confirm, or could you check on
a clean machine?
Thanks.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user