I couldn't find an option of "rule-based"-labeling in QGIS 2.10. For example that big cities are also labeled bigger than smaller cities. Am i missing something or doesn't it exist?
1 Answer
You can use expressions to define a font size
For example:
CASE
WHEN "size" > 10 THEN 10
WHEN "size" > 20 THEN 20
ELSE 30
END
-
Thank you, solved my problem. Another question: Is it possible to get a dashed underlined Label, for e.g. main cities, but not capital cities. I only see that the normal underlined label is possible.– DuddelCommented Aug 19, 2015 at 7:40
-
-
Here is an idea to create a dashed underline: gis.stackexchange.com/a/276450– StefanCommented Mar 20, 2018 at 10:05