Feature request #2747
possibility to suppress labels for small features
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | Martin Dobias | ||
Category: | C++ Plugins | ||
Pull Request or Patch supplied: | Resolution: | fixed | |
Easy fix?: | No | Copied to github as #: | 12807 |
Description
In some situations, user wants to avoid labeling for very small features even if there are no label position conflicts.
The attached patch adds the capability of suppressing labeling for small features. The user specifies a minimum size in mm and pallabeling.cpp checks the length / area of a features vs. the minimum value (or the square of the minimum value for polygons) before sending the label to pal.
History
#1 Updated by Mathieu Pellerin - nIRV over 14 years ago
+1, I've been dreaming of such a feature.
#2 Updated by Martin Dobias over 14 years ago
- Resolution set to fixed
- Status changed from Open to Closed
Applied in 3b280fa7 (SVN r13588)