Tuesday, 7 April 2015

labeling - Is there a way to interactively rotate labels in QGIS using any of the edit tools?




I seem to have put too much detailed information in my previous question, confusing the masses. My apologies. Let me try again from a different angle.


I want to rotate labels interactively/visually, using edit tools. I don't want to use the Data defined Rotation method, found under Layer Properties > Placement.


Is there a way to interactively rotate labels in QGIS using any of the edit tools?


While Data defined Rotation works well, it is tedious to set the text rotations for a feature, having to manually enter and "guesstimate" the text angle value into the attribute fields. Especially for point and polygon features.



Answer



Yes, you can rotate labels interactively.


If you set up a data defined label position and rotation field (should be a double on your dataset's attribute table) then you can edit the position and rotation using the label tools.


Here's where you set the field:


set up rotation


Next you edit the layer, and use the 'rotate label' tool:



rotate label


And now you can rotate labels interactively.


Rotated labels


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...