Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to label a layer with 2 columns/attributes. It´s not a problem in Mapinfo, but can it be done in QGIS as well?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

Right-Click on the layer -> Properties -> Labels Then you can use the following function "concat(string1, string2,... ) : enter image description here

I hope it will be usefull.

share|improve this answer
You can also concatenate directly with "field1" || "field2". –  SAnderka Jan 6 '14 at 8:52
Thanks to both of you. Works! –  Salliva2000 Jan 6 '14 at 9:05
With || you can use all kinds of columns. Using concat(), you can only use strings. –  Alexandre Neto Jan 6 '14 at 10:04
I usually prefer at least a blank as separator: "field1" || ' ' || "field2". Splitting the label in two lines is also possible by defining a line separator like /n. –  AndreJ Jan 6 '14 at 10:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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