Re: [Qgis-user] Rename column

2021-06-01 Thread Richard McDonnell
+353 87 688 5964 T +353 46 942 2409 https://www.opw.ie —— Email Disclaimer: https://www.opw.ie/en/disclaimer/ From: Qgis-user On Behalf Of Tudorache, Marian Sent: 01 June 2021 15:27 To: Ursula Heinze ; Qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Rename column There should be a method

Re: [Qgis-user] Rename column

2021-06-01 Thread Tudorache, Marian
()) layer.renameAttribute(idx, 'new') Good luck! Marian From: Qgis-user On Behalf Of Ursula Heinze Sent: June 1, 2021 5:26 AM To: Qgis-user@lists.osgeo.org Subject: [EXT] [Qgis-user] Rename column CAUTION: This email originated from outside of the organization. If you do not recognize the sender or you

Re: [Qgis-user] Rename column

2021-06-01 Thread Ujaval Gandhi
You can also use the 'Refactor Fields' algorithm from the Processing Toolbox - which can not only rename the fields but also change the order and types as well. [image: Logo] Ujaval Gandhi Spatial Thoughts mobile: +91-8095684687 email: uja...@spatialthoughts.com

Re: [Qgis-user] Rename column

2021-06-01 Thread Matt Boyd
You can rename columns (or fields) in the layer properties (need to have editting turned on) In the field calculator, sometimes I have issues with the data type and "fieldname" doesn't work so well but if I do "1*fieldname" it does. On Tue, Jun 1, 2021 at 7:31 PM Ursula Heinze wrote: > >

[Qgis-user] Rename column

2021-06-01 Thread Ursula Heinze
Hello, I have a little problem with the field calculator. I want to rename a column, and I don´t find any way to do it. Now I tried to copy the field values in a new column with the right name, and am also not successful. Has anybody an idea for me, how to solve the problem? Many thanks in