Feature request #2747

possibility to suppress labels for small features

Added by Marco Hugentobler over 11 years ago. Updated over 11 years ago.

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.

100525_labelpatch.diff Magnifier (11.7 KB) Marco Hugentobler, 2010-05-25 04:37 AM

History

#1 Updated by Mathieu Pellerin - nIRV over 11 years ago

+1, I've been dreaming of such a feature.

#2 Updated by Martin Dobias over 11 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Applied in 3b280fa7 (SVN r13588)

Also available in: Atom PDF