Expression based labels in QGIS
Just three hours ago, a patch by Nathan Woodrow was added to QGIS that allows expression-based feature labelling.
Expressions support basic arithmetic operators, parentheses, string functions, type conversion functions, etc. There is also an expression builder dialogue where you can:
- search functions by their names
- check expression validity as you type
- preview expression results in real-time
- read a short description of the selected function (currently only available for some functions)
- load the first 10 unique values or all field values from the context menu