<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-03-10 22:27 GMT+01:00 Laurence Béchet <span dir="ltr"><<a href="mailto:bechet.laurence@gmail.com" target="_blank">bechet.laurence@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi<br>
<br>
What might be more worrisome is that these embedded layers can be
edited in the 'child' project and modified .... another bug? <br>
<br></div></blockquote><div>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).<br><br></div><div>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<br><br><br></div><div>Harrissou<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
Cheers<span class="m_-2513308457815450051HOEnZb"><font color="#888888"><br>
Laurence</font></span><div><div class="m_-2513308457815450051h5"><br>
<br>
<div class="m_-2513308457815450051m_-4577001518143733893moz-cite-prefix">On 11/03/2017 6:31 a.m., Régis Haubourg
wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">Hi guys,
<div dir="auto">Paul Blottiere submitted a pull request to solve
that issue here </div>
<div dir="auto"><a href="https://github.com/qgis/QGIS/pull/4247" target="_blank">https://github.com/qgis/QGIS/p<wbr>ull/4247</a><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">If it is doing the work and merged, that would
deserve backporting to 2.18 branch. </div>
<div dir="auto"><br>
</div>
<div dir="auto">And yes that issue deserves to be more
advertised and also extended to a unlinked "copy" mode. </div>
<div dir="auto">Wiring it in browser would be a nice way to make
it more known too.</div>
<div dir="auto"><br>
</div>
<div dir="auto">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</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">Le 10 mars 2017 3:19 PM, "Neumann,
Andreas" <<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>>
a écrit :<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi Harrissou,</p>
<p>Thanks for tackling this in the documentation.</p>
<p>Some remarks:</p>
<p>- embedded layers are shown with "italic" labels in the
layer tree to distinguish them from regular layers.</p>
<p>- 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.</p>
<p>- 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</p>
<p>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.</p>
<p>Andreas</p>
<p>On 2017-03-10 12:05, DelazJ wrote:</p>
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
Actually it's not a new feature. Has been
there since.... (available in 1.8
documentation <a href="http://docs.qgis.org/1.8/en/docs/user_manual/introduction/general_tools.html#nesting-projects" target="_blank">http://docs.qgis.org/1.8/en/do<wbr>cs/user_manual/introduction/ge<wbr>neral_tools.html#nesting-proje<wbr>cts</a>)</div>
And as you can see, the documentation has
neither been improved since.</div>
Given your discussion I tried to put some
highlights on the feature and any review is
welcome <a href="https://github.com/qgis/QGIS-Documentation/issues/1748" target="_blank">https://github.com/qgis/QGIS-D<wbr>ocumentation/issues/1748</a>
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.<br>
<br>
</div>
Laurence, I didn't check if you had reported the
issues yet, otherwise I think removal of some items
can be added:<br>
- Layer menu --> Labeling<br>
- when right-clicking an embedded layer -->
Style.<br>
<br>
</div>
<div>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?<br>
<br>
</div>
<div>Thanks,<br>
Harrissou</div>
<div>
<div>
<div> </div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-03-09 21:07 GMT+01:00
Laurence Béchet <span><<a href="mailto:bechet.laurence@gmail.com" target="_blank">bechet.laurence@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Thanks Andrea. I'll create them. <br>
These are not big issues and easy to work around
as a user. <br>
<br>
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!<br>
<br>
Kind regards<span class="m_-2513308457815450051m_-4577001518143733893m_4118756926223086599HOEnZb"><span style="color:#888888"><br>
Laurence</span></span><span><br>
ARK IN THE PARK Volunteer Co-Ordinator<br>
Cascades Ranger Station<br>
Falls Road, Waitakere<br>
Phone: (09) 810 7014<br>
<a class="m_-2513308457815450051m_-4577001518143733893m_4118756926223086599m_6001248879147884687moz-txt-link-abbreviated" href="http://www.arkinthepark.org.nz" target="_blank">www.arkinthepark.org.nz</a>
<a class="m_-2513308457815450051m_-4577001518143733893m_4118756926223086599m_6001248879147884687moz-txt-link-abbreviated" href="http://www.forestandbird.org.nz" target="_blank">www.forestandbird.org.nz</a>
<br>
<br>
</span>
<div>
<div class="m_-2513308457815450051m_-4577001518143733893m_4118756926223086599h5">
<div class="m_-2513308457815450051m_-4577001518143733893m_4118756926223086599m_6001248879147884687moz-cite-prefix">On
9/03/2017 10:58 p.m., Neumann, Andreas
wrote:</div>
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">
<p>Hi Laurence,</p>
<p>I can confirm both issues.</p>
<p>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.</p>
<p>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.</p>
<p>The styling dock is fairly new and
probably the devs where not aware about
the embedded layers feature.</p>
<p>Can you please issue bug reports for
both issues?</p>
<p>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.</p>
<p>Unfortunately, many users and devs are
not aware of this feature and it doesn't
get much attention.</p>
<p>Thanks,</p>
<p>Andreas</p>
<p>On 2017-03-08 22:10, Laurence Béchet
wrote:</p>
<blockquote style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">Hi,<br>
<br>
I'm trying to use the embed layers and
groups feature. <br>
I'm running on Windows8 pro 64bits. <br>
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.<br>
<br>
QGIS 2.18.4 QGIS code revision 59c1d21:<br>
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? <br>
<br>
QGIS version 2.99.0-Master QGIS code
revision 5a543e4: <br>
The group appears in the layers panel
but none of the layers are displayed.
Question 2: Is this normal?<br>
<br>
Kind regards<br>
Laurence Bechet<br>
<br>
ARK IN THE PARK Volunteer Co-Ordinator<br>
Cascades Ranger Station<br>
Falls Road, Waitakere<br>
Phone: (09) 810 7014<br>
<a class="m_-2513308457815450051m_-4577001518143733893m_4118756926223086599m_6001248879147884687moz-txt-link-abbreviated" href="http://www.arkinthepark.org.nz" target="_blank">www.arkinthepark.org.nz</a>
<a class="m_-2513308457815450051m_-4577001518143733893m_4118756926223086599m_6001248879147884687moz-txt-link-abbreviated" href="http://www.forestandbird.org.nz" target="_blank">www.forestandbird.org.nz</a>
<br>
<br>
<div class="m_-2513308457815450051m_-4577001518143733893m_4118756926223086599m_6001248879147884687pre" style="margin:0;padding:0;font-family:monospace">______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a></div>
</blockquote>
<p> </p>
<div> </div>
</blockquote>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a></blockquote>
</div>
</div>
</blockquote>
<p> </p>
<div> </div>
</div>
<br>
______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a><br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div>