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

Alexandre Neto senhor.neto at gmail.com
Fri Aug 20 06:37:22 PDT 2021


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 <djes1975 at gmail.com> wrote:

> Hi Alexandre,
>
> Le jeu. 19 août 2021 à 23:51, Alexandre Neto <senhor.neto at gmail.com> 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
>
>
>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210820/1b94ff2c/attachment.html>


More information about the Qgis-user mailing list