-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Labeling, Rotation over Point is not enabled #15457
Comments
Author Name: Paolo Cavallini (@pcav)
|
Author Name: Larry Shaffer (Larry Shaffer) Should be implemented with commit 61a5022 Please test. |
Author Name: Gerhard Spieles (Gerhard Spieles) Hello, have tested it with revision 9e9d1ce. When you want to get data-field defined rotation, you have to do this in the 'data defined settings' in the group 'position'. The field 'Rotation' is only available, when 'X' and 'Y' are as field defined (otherwise 'Rotation' ist grayed). It should be good to add a data defined 'Rotation' field in the 'Offset from point' group.
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Larry Shaffer (Larry Shaffer) gespiel wrote (in separate posts):
My apologies; commit 61a5022 only implements the rotation for the whole PAL (new labeling engine) layer, data defined rotation currently remains the same as with v. 1.8. I see now you were requesting two features. I will be adding the ability to set the rotation independent of x/y for data defined layers as well, but that support will probably only extend to point features that have known or calculated locations prior to the PAL solution (e.g. Offset from point/centroid, as is the case here).
All labels rotated the same is the intended behavior for the whole PAL layer with current 'Offset from point' functionality.
This is correct current behavior. The data defining of x/y (regardless of rotation) will currently override 'Offset from point' settings. Using 'Offset from point' for position, but overriding the rotation value with a data defined rotation field is not yet supported. To get the label to be centered over the point when x/y are data defined, also map horizontal and vertical alignment fields in the data defined position section to your data source. Populate those mapped fields in your data source with Center for horizontal and Half for vertical. See this description for v. 1.8: http://gis.stackexchange.com/questions/31478 This issue should remain open until data defined rotation, independent from data defined x/y, can also be used in conjunction with some PAL layer-level settings. |
Author Name: Giovanni Manghi (@gioman)
This has been added 8a347eb can this ticket be closed?
|
Author Name: Larry Shaffer (Larry Shaffer) Between the above noted commit and commit d83b618 this should now work as expected. New issues with existing functionality in master branch should probably be on a new ticket.
|
Author Name: Gerhard Spieles (Gerhard Spieles) Hello, |
Author Name: Gerhard Spieles (Gerhard Spieles)
Original Redmine Issue: 6118
Affected QGIS version: 1.8.0
Redmine category:labelling
Assignee: Larry Shaffer
New Labeling, section advanced, Placement: "over point" let appear the label midth of the point.
Set y, y and rotation in the advanced section the over point function ist dissabled and the label begins right of the point.
The rotation over point point should be enabled.
Generaly, the rotation field in point layers should be available without the presence or setting of an x and y field in the "datadefined section".
When no field is present or the x and y field is empty, then the coordinate from point geometrie is the right value, in the other cases, the x and y values from the attribute fields.
This functionality was possible in the old labeling engine.
The text was updated successfully, but these errors were encountered: