3

I have to draw several features like polygons, points and lines by hand in my QGIS project on to defined layers and those layers contain an attribute table with several columns.

Is there any way to set a preset (values/words) of some sort for specific columns which means I don'`t have to fill out the columns by hand when I create an entity?

Below there is an example:

enter image description here

In this picture I created the polygon and now I have to fill out the attribut table. The layer is categorized and by adding "Colored" in the "Feature" column I get the defined style for this polygon like in the picture below.

enter image description here

Is it possible to set some sort of preset in the "attribute-formula" or anywhere else?

How can I set this preset exactly?

enter image description here

I´ve found other Q&As but in my case I don't have any relationship to other layers with any information for the attribute table.

1 Answer 1

6

'Colored' would be the correct syntax.

Within Qgis expressions single quotation marks ('yourtexthere') are used to designate input of characters, while double quotation marks ("yourfieldnamehere") are used to reference column/field names.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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