Re: [Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-20 Thread Jésahel Benoist
Le ven. 20 août 2021 à 15:37, Alexandre Neto a écrit : > I still don't understand what you mean by updating a group... > An example : a layer group is a way for us to group layers by their use. We have some groups with 20-30 layers with sub-groups. Sometimes for an update we add/remove a layer

Re: [Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-20 Thread Alexandre Neto
I still don't understand what you mean by updating a group... Anyway, maybe others have faced similar problems, I would try the qgis-dev mailing list Alexandre Neto On Fri, Aug 20, 2021 at 1:16 PM Jésahel Benoist wrote: > Hi Alexandre, > > Le jeu. 19 août 2021 à 23:51, Alexandre Neto a >

Re: [Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-20 Thread Jésahel Benoist
Hi Alexandre, Le jeu. 19 août 2021 à 23:51, Alexandre Neto a écrit : > Hi, > > Actually, in the past, most things depended solely on layer names. As > Charles mentioned this posed lots of problems when there were layers with > the same name. > Yes, it can't be solely on layer names. An id is

Re: [Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-19 Thread Alexandre Neto
Hi, Actually, in the past, most things depended solely on layer names. As Charles mentioned this posed lots of problems when there were layers with the same name. Maybe I did not understood the difficulty that you are facing, but if you need to swap layers, instead of loading a new layer and

Re: [Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-19 Thread Jésahel Benoist
Le jeu. 19 août 2021 à 21:34, Charles Dixon-Paver a écrit : > Maybe a better discussion to be having is "can we make it possible to > manually edit layer ids", but i think that will probably be dependant on > the existing QEPs like > https://github.com/qgis/QGIS-Enhancement-Proposals/issues/76 >

Re: [Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-19 Thread Jésahel Benoist
Le jeu. 19 août 2021 à 21:25, Sebastian Gutwein a écrit : > Jesahel, > This may be something you already do and I don't know if this would save > you any time but I often set up project variables in situations where I am > using a layer across many expressions or layouts. >

Re: [Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-19 Thread Charles Dixon-Paver
Maybe a better discussion to be having is "can we make it possible to manually edit layer ids", but i think that will probably be dependant on the existing QEPs like https://github.com/qgis/QGIS-Enhancement-Proposals/issues/76 On Thu, 19 Aug 2021 at 21:29, Jésahel Benoist wrote: > Le jeu. 19

Re: [Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-19 Thread Jésahel Benoist
Le jeu. 19 août 2021 à 20:23, Charles Dixon-Paver a écrit : > I would imagine there are just far too many projects and use cases where > the same layer name is used for multiple layers. > Yes, certainly. But the random id is a bad solution. I think the id should be created sequentially and

Re: [Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-19 Thread Sebastian Gutwein
Jesahel, This may be something you already do and I don't know if this would save you any time but I often set up project variables in situations where I am using a layer across many expressions or layouts. Project>Properties>Variables For example when I am referencing a DEM in expression over and

Re: [Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-19 Thread Charles Dixon-Paver
I would imagine there are just far too many projects and use cases where the same layer name is used for multiple layers. Saving and loading themes etc is a feature request I imagine. Copying styles between layers is supported (and you can save style and layer definitions). I imagine most issues

[Qgis-user] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-19 Thread Jésahel Benoist
Hello all, QGIS is now my favorite everyday tool. Anyway, there's something that is a real pain in the ass, the choice to use layer ID instead of layer name in layouts/reports/atlas/themes. First, let me explain that I have a lot of layers so I'm using groups, I import/export needed groups with