I am labeling mile points along several different lines in QGIS 3.2. For the labels I am using a field that is just integers so the labels are 1, 2, 3, etc but I would like to add some text so that that for one line it'd say, for example A1, A2, etc.
Is there a function to add the text characters in either the field/a new field or in the label styling window?
Best Answer
Yes, there is! With string concatenation
||
you can make label with custom strings, or with values from other fields. In Label with field write expression like this:'A'||your_field
or use expression builder
example: