Feature request #14089
Discourage labels from other layers to cover features of a labelled layer
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||22097|
This issue report is related to this ML discussion
Currently, you can:
- label a layer and discourage labels from other layers to cover its features
- discourage labels from other features to cover features of a not labeled layer
But what if I want to label a layer and don't want to see labels from other layers cover its features? I suppose I need to add it twice (a labeled one and a "discouraged" one).
To improve the dialog and help fix the issue above, I propose to separate labelling matters from obstacles ones, by:
- keeping in the current listbox : 'No Labels', 'Show labels for this layer', 'Rule-based labeling' options
- and adding the "Discourage other labels from covering features in this layer" option in a checkable group box at the top of the dialog. This groupbox will contain the current settings in Rendering tab > Obstacles.
Both options can be used independently and people will clearly distinguish what belongs to labelling matters (in the listbox) and what is obstacles matters. Not mixed as it's currently.
You can choose to "discourage other labels from covering features" (or not) for either a labeled or not labeled layer.
This new group checkbox can then be inserted into "Rule Properties" dialog in case of rule-based labeling.