Opened 14 years ago

Closed 14 years ago

#2991 closed patch (fixed)

Patch for data defined label position in new labeling

Reported by: mhugent Owned by: wonder
Priority: critical: causes crash or data corruption Milestone: Version 1.6.0
Component: Vectors Version:
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

The following patch adds data defined label position for the new labeling engine. Martin, could you review it? And maybe it is a good time to synchronize the pal changes (also the curved labeling) with the main pal library

Marco

Attachments (4)

100911_data_defined_label_position.diff (25.5 KB ) - added by mhugent 14 years ago.
100916_data_defined_label_position.diff (33.4 KB ) - added by mhugent 14 years ago.
100923_data_defined_label_position.diff (45.2 KB ) - added by mhugent 14 years ago.
101008_data_defined_label_position.diff (45.2 KB ) - added by mhugent 14 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by mhugent, 14 years ago

The patch is improved now. There is the additional capability of showing direction symbols ('<','>') for labels in case of placement parallel to line or polygon border.

comment:2 by mhugent, 14 years ago

Added another improved patch with the following new features:

  • data defined label distance
  • data defined rotation (only possible in case of data defined position to not interfere with the smart label placement of pal)
  • possibility to have font size in map units

comment:3 by lutra, 14 years ago

When applied, this will close #3023

comment:4 by mhugent, 14 years ago

Patch updated to apply cleanly with current trunk

comment:5 by wonder, 14 years ago

Resolution: fixed
Status: newclosed

Marco,

finally I've looked at the patch and it looks fine. As I don't know when exactly you return from your holidays, I've committed the patch in r14423 so that it doesn't miss the deadline for 1.6 release.

Note: See TracTickets for help on using tickets.