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 <[email protected]> wrote: > Hi Alexandre, > > Le jeu. 19 août 2021 à 23:51, Alexandre Neto <[email protected]> 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 necessary. But I think a > random and changing id is a problem too, especially if the user can't > define it. > > >> 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 remove the old one, >> you can simply use the change data source functionality to change the >> source of UL our data, this will keep your layer id intact. Besides, even >> if the layer attributes are different, as long as the ones used by atlas, >> styles, etc are kept, every should keep working fine. >> > > It is fine especially for users using files like shapefiles. But the point > is not about data sources, it is more about updating layers when needed in > well defined projects and having their id reinitialised. The source is the > same. > > For example when I'm updating a group of layers about a specific topic, > users can only update this specific group in their projects. But if they > do, they'll have to change their templates too. A group may contain > modified and new layers, what would need a lot of work to simply update. > > >> Besides the change data source option on each layer context menu, you can >> also use the change data source plugin for when you want to change too many >> layers. >> > > Yes, I'm using these a lot. It's great, especially when I'm doing portable > versions of my projects. > > >> Best regards, >> > > Best regards too > > Jésahel > > > >>>
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
