https://issues.qgis.org/https://issues.qgis.org/favicon.ico2012-09-04T10:07:22ZQGIS Issue TrackingQGIS Application - Bug report #6118: New Labeling, Rotation over Point is not enabledhttps://issues.qgis.org/issues/6118?journal_id=348362012-09-04T10:07:22ZPaolo Cavallinicavallini@faunalia.it
<ul><li><strong>Target version</strong> set to <i>Version 2.0.0</i></li></ul> QGIS Application - Bug report #6118: New Labeling, Rotation over Point is not enabledhttps://issues.qgis.org/issues/6118?journal_id=350142012-09-04T10:32:46ZLarry Shaffer
<ul></ul><p>Should be implemented with commit <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/61a50225ee196bb1c70ab15cc041bcbd25b7d03a" title="Add quadrant, offset, rotation for points/centroids in adv labeling - Possible fix for #4634, #5...">61a50225</a></p>
<p>Please test.</p> QGIS Application - Bug report #6118: New Labeling, Rotation over Point is not enabledhttps://issues.qgis.org/issues/6118?journal_id=350192012-09-04T13:08:58ZGerhard Spieles
<ul><li><strong>File</strong> <a href="/attachments/download/4843/test1_label_offsetfrompoint.jpg">test1_label_offsetfrompoint.jpg</a> added</li><li><strong>File</strong> <a href="/attachments/download/4844/test2_label_offsetfrompoint_with_rotationfield.jpg">test2_label_offsetfrompoint_with_rotationfield.jpg</a> added</li></ul><p>Hello,</p>
<p>have tested it with revision 9e9d1ce.<br />Offset from point functions. It is only possible to rotate all labels with the same rotation-angle. (see attached file "test1_label_offsetfrompoint.jpg"</p>
<p>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).<br />Setting X, Y and Rotation fields, dissables the 'Offset from point function'(see attached file "test2_label_offsetfrompoint_with_rotationfield.jpg"</p>
<p>It should be good to add a data defined 'Rotation' field in the 'Offset from point' group.</p> QGIS Application - Bug report #6118: New Labeling, Rotation over Point is not enabledhttps://issues.qgis.org/issues/6118?journal_id=350892012-09-07T02:29:23ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul> QGIS Application - Bug report #6118: New Labeling, Rotation over Point is not enabledhttps://issues.qgis.org/issues/6118?journal_id=350952012-09-07T06:00:55ZLarry Shaffer
<ul></ul><p>gespiel wrote (in separate posts):</p>
<blockquote>
<p>It should be good to add a data defined 'Rotation' field in the 'Offset from point' group.</p>
</blockquote>
<p>My apologies; commit <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/61a50225ee196bb1c70ab15cc041bcbd25b7d03a" title="Add quadrant, offset, rotation for points/centroids in adv labeling - Possible fix for #4634, #5...">61a50225</a> 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.</p>
<p>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).</p>
<blockquote>
<p>Offset from point functions. It is only possible to rotate all labels with the same rotation-angle.</p>
</blockquote>
<p>All labels rotated the same is the intended behavior for the whole PAL layer with current 'Offset from point' functionality.</p>
<blockquote>
<p>New Labeling, section advanced, Placement: "over point" let appear the label midth of the point.<br />Set y, y and rotation in the advanced section the over point function ist dissabled and the label >begins right of the point.</p>
</blockquote>
<p>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 <em>not yet</em> supported.</p>
<p>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.</p>
<p>See this description for v. 1.8: <a class="external" href="http://gis.stackexchange.com/questions/31478">http://gis.stackexchange.com/questions/31478</a></p>
<p>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.</p> QGIS Application - Bug report #6118: New Labeling, Rotation over Point is not enabledhttps://issues.qgis.org/issues/6118?journal_id=351942012-09-16T00:50:56ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Assignee</strong> set to <i>Larry Shaffer</i></li><li><strong>Operating System</strong> deleted (<del><i>all</i></del>)</li></ul><blockquote>
<p>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.</p>
</blockquote>
<p>This has been added <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/8a347ebaf7a960e4e4caf549b650865f4a3148ea" title="[FEATURE] allow data defined rotation without data defined position">8a347ebaf7a960e4e4caf549b650865f4a3148ea</a></p>
<p>can this ticket be closed?</p> QGIS Application - Bug report #6118: New Labeling, Rotation over Point is not enabledhttps://issues.qgis.org/issues/6118?journal_id=351992012-09-16T10:41:46ZLarry Shaffer
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed</i></li></ul><p>Between the above noted commit and commit <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/d83b618f1e3396a38d107fa40930f0332ba7ebc8" title="Fixes for PAL labels to work with 8a347eb - Point/centroid label offset functions now work with ...">d83b618</a> this should now work as expected. New issues with existing functionality in master branch should probably be on a new ticket.</p> QGIS Application - Bug report #6118: New Labeling, Rotation over Point is not enabledhttps://issues.qgis.org/issues/6118?journal_id=352292012-09-17T06:39:24ZGerhard Spieles
<ul></ul><p>Hello,<br />perfect!<br />Thank you verry much.<br />Gerhard</p>