Feature request #12131
Assign no renderer to a layer - for label only layers
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Symbology | ||
Pull Request or Patch supplied: | No | Resolution: | |
Easy fix?: | No | Copied to github as #: | 20325 |
Description
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.
Associated revisions
[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.
(fix #12131)
History
#1 Updated by Giovanni Manghi over 9 years ago
- Resolution set to invalid
- Status changed from Open to Closed
you are probably doing it wrong, see for example this
https://www.youtube.com/watch?v=Qof4oDLxcmE
please reopen if necessary. Cheers!
#2 Updated by Corey Burger over 9 years ago
- Status changed from Closed to Reopened
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).
#3 Updated by Giovanni Manghi over 9 years ago
- Status changed from Reopened to Feedback
- Resolution deleted (
invalid)
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.
#4 Updated by Corey Burger over 9 years ago
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.
#5 Updated by Giovanni Manghi over 9 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?
#6 Updated by Corey Burger over 9 years ago
Sorry, that was a suggested implementation to the problem of needing to have a symbology defined for labels to show.
#7 Updated by Nathan Woodrow over 9 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.
#8 Updated by Nathan Woodrow over 9 years ago
- Tracker changed from Bug report to Feature request
#9 Updated by Corey Burger over 9 years ago
Should the title be "label-only layers" not "label-only layers"?
#10 Updated by Nathan Woodrow over 9 years ago
- Subject changed from Assign no renderer to a layer - for layer only layers to Assign no renderer to a layer - for label only layers
Doh!
#11 Updated by Nyall Dawson over 8 years ago
- Status changed from Feedback to Closed
Fixed in changeset d464f862903184e94e01e4963e82e337efc4a388.