Le jeu. 19 août 2021 à 20:23, Charles Dixon-Paver <[email protected]> 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 could be modified by the user.
Saving and loading themes etc is a feature request I imagine.
>
Yes :)
Copying styles between layers is supported (and you can save style and
> layer definitions).
>
Yes, a good tip is to assignate keys to copy/paste style.
I imagine most issues can be resolved by just using an expression based id
> wherever possible, with something like this:
>
> QgsProject.instance().mapLayersByName('World Map')[0].id()
>
>>
Sure
>>
_______________________________________________
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