Monday 29 August 2016

Multi-labeling with multiple colours in QGIS



I would like to label data entries with multiple fields (that is easy, using the expression editor) in QGIS 2.18. But I fail to alter the styling of the labels, so that say the colour of the label from one data field (e.g., in the first line) was different to the second label value (second line). An older answer had the standard solution (duplicating the layer, Two different colours in label) I am wondering whether QGIS 2.18 or even the up and coming 3.0 will have a solution.



Answer



I am also interested in this solution, if any available.


Below is a way to use Text diagram which may or may not gives you what you are looking for. It is a multiple-colored texts, but does not offer much flexibility.


enter image description here


Anyway, just for your thoughts.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...