So I have a buffer layer with an associated attribute table. This table has a column called "value" that I want to change to "x" based on previous selection. I can select the buffers in the layers I need to edit, but I don't know how to edit the values of the attributes of the selected buffers.

How can directly edit attribute values at a specific column from the graphical modeler?

enter image description here


Use the Field Calculator algorithm.

enter image description here

There doesn't appear to be any documentation for this algorithm, except for this. But it looks like it works like the regular Field Calculator. Choose a layer from the dropdown menu, type in the name of the field you want to modify, choose 'no' as the option for Create new field, and type in the expression you want to use to modify the field. If you need help writing the expression, use the help available in the regular Field Calculator.

| improve this answer | |
  • Is there any way of doing this without creating a new layer? I just want to edit an existing layer. – Steffan Clent Davies Dec 10 '18 at 10:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.