Feature request #5874
Use per layer option for label all features option
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Labelling | ||
Pull Request or Patch supplied: | No | Resolution: | |
Easy fix?: | No | Copied to github as #: | 15335 |
Description
When defining the label engine settings, the "Show all
labels" option should be a layer property rather than an engine
setting.
It's something that PAL does not currently support. But I agree
that it is sometimes useful to label all features even though that
would produce overlaps.
We could improve PAL to place labels in two steps:
1. label features from layers where all features must be labeled,
without collision detection
2. label features from the rest of layers with usual placement
algorithm, labels from step 1 act as obstacles
History
#1 Updated by Martin Dobias over 12 years ago
- Assignee deleted (
Martin Dobias)
#2 Updated by Larry Shaffer about 12 years ago
Hi,
I've implemented a version of this in commit a584a9a
It works very well for instances where you need to see many layers, but only 'show all labels' for one or two, like during extensive pin/unpin operations.
However, the implementation does not allow those 'show all' labels to become obstacles in the solution of other labels when collisions occur. The 'show all' labels are dynamically solved for the layout, but will overlay or underlie other labels relative to chosen priority and layer render order during a collision. Visual clarity can sometimes be increased by use of label and buffer transparency.
A more collision-proof solution for 'show all' labels would be Martin's suggestion (or something similar). Even then, with multiple 'show all' layers, collisions would need to be addressed.
#3 Updated by Pirmin Kalberer about 12 years ago
- Target version changed from Version 2.0.0 to Future Release - Nice to have
#4 Updated by Denis Rouzaud over 11 years ago
Shall this issue be closed?
#5 Updated by Denis Rouzaud almost 11 years ago
- Status changed from Open to Closed