Opened 14 years ago

Closed 14 years ago

#2747 closed patch (fixed)

possibility to suppress labels for small features

Reported by: mhugent Owned by: wonder
Priority: minor: annoyance Milestone: Version 1.5.0
Component: C++ Plugins Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

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.

Attachments (1)

100525_labelpatch.diff (11.7 KB ) - added by mhugent 14 years ago.

Download all attachments as: .zip

Change History (3)

by mhugent, 14 years ago

Attachment: 100525_labelpatch.diff added

comment:1 by nirvn, 14 years ago

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

comment:2 by wonder, 14 years ago

Resolution: fixed
Status: newclosed

Applied in r13587

Note: See TracTickets for help on using tickets.