Feature request #12131
Assign no renderer to a layer - for label only layers
|Pull Request or Patch supplied:||No||Resolution:|
I am trying to create a label-only layer to show labels on another layer. However, if there are no styles shown, then the labels will not be drawn.
[FEATURE] Null ("No symbol") renderer
Using this renderer no symbol will be drawn for features, but labeling,
diagrams and other non-symbol parts will still be shown.
Selections can still be made on the layer in the canvas and selected
features will be rendered with a default symbol. Features being edited
will also be shown.
This is intended as a handy shortcut for layers which you only want
to show labels or diagrams for, and avoids the need to render
symbols with totally transparent fill/border to achieve this.
#3 Updated by Giovanni Manghi over 2 years ago
- Status changed from Reopened to Feedback
- Resolution deleted (
Corey Burger wrote:
Although a low priority, I think this is a valid use case, primarily as creating discrete label-only classes is very useful at times (especially given you cannot create label classes right now).
this is not related to the subject/description of this ticket(?). Seems more a different thing (a feature request), while you can certainly create layers with "no" symbology and use them as markers to pinpoint labels for other layers. Please leave feedback.
#5 Updated by Giovanni Manghi over 2 years ago
Corey Burger wrote:
You are correct, however you have to create an empty symbology and then set it is any version of blank. Ideally, I would change the dropdown with "Single Symbol", etc. to have "No symbology" at the bottom, to make it easy to make a label-only layer.
this is a good suggestion, but how it relates to this ticket title/description?
#7 Updated by Nathan Woodrow over 2 years ago
- Target version set to Future Release - Nice to have
- Subject changed from Cannot create label-only layers to Assign no renderer to a layer - for layer only layers
- Category set to Symbology
I agree this would be a handy thing to have. I have updated the ticket information. Nyall and I have talked about it in the past I don't recall there being a reason we couldn't do it.