1

I'm labeling some country polygons with their names. The data have one attribute with the full country name and another one with a short version (e.g. Sweden/SE). I want to label the countries with the long version if it fits completely within the polygon and with the short version otherwise. Is it possible to solve this with rule-based labeling in QGIS?

I know about the draw option "Only draw labels which fit completely within feature". I'm trying to pour this option into a rule if that makes sense.

QGIS version: 3.10.1-A Coruña

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.