Skip to main content

Timeline for Rename layers with PyQGIS script

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Sep 19, 2023 at 4:33 comment added LeasMaps Will for layer in iface.layerTreeView().selectedLayers(): layer.setName('NewName') work for a PyQGIS script?
Jul 19, 2019 at 18:11 vote accept Basrijn
S Jan 31, 2019 at 21:32 history suggested Joao Neves CC BY-SA 4.0
Update to show compatible code with new major version of QGIS.
Jan 31, 2019 at 21:18 review Suggested edits
S Jan 31, 2019 at 21:32
Jun 6, 2018 at 8:33 history edited Jochen Schwarze CC BY-SA 4.0
added update information
Jun 6, 2018 at 8:29 comment added Jochen Schwarze @Basrijn It's never too late to except an answer...
Mar 30, 2015 at 6:05 comment added Basrijn that is great. After some copy paste work I now have all the standard Canvec layers with readable names. Makes it much easier to work with! I had a quick look thru the API to see if I could locate a way to drop a complete layer. tried several that had remove in them, but no luck. Do you happen to know the call to drop the complete layer? I would use this to discard the layers automatically that I'm not interested in. Tx again
Mar 30, 2015 at 0:05 review Low quality posts
Mar 30, 2015 at 0:53
Mar 29, 2015 at 23:50 history answered Nathan W CC BY-SA 3.0