Home
Random
Recent changes
Special pages
Community portal
Settings
About Tuflow
Disclaimers
Tuflow
Search
User menu
Log in
View source for QGIS Convert Rotate Label to Line
←
QGIS Convert Rotate Label to Line
=Introduction= There are times when it is desirable to rotate a label to match the line direction. For example when labelling elevation or flood level contours. There seems to be a number of ways of doing this in QGIS. Two methods are described below. =Method 1= <ol> <li>Right click on the layer you wish to label in the table of contents, and select '''Properties'''.</li> <li>Navigate to the '''Labelling''' tab.</li> <li>Enable the '''Display Labels''' option and select the field you wish to label.</li> <li>Under the '''Angle''' field. Select '''Auto'''. As shown below.</li> [[File:QGIS Rotated Labels 01.JPG|600px]] </ol> =Method 2= <ol> <li>Choose ''Layer >> Labelling'' from the menu items.</li> <br> [[File:QGIS Rotated Labels 03.jpg|250px]] <br> <li>Select '''Label this layer with''' and set the field.</li> <li>Navigate to the '''Advanced''' tab and set the placement to '''Parallel''', as shown below. <br> [[File:QGIS Rotated Labels 04.jpg|600px]] </ol> =Example= Regardless of which method you used, the labels should be rotated to the line as shown in the image below. <br> [[File:QGIS Rotated Labels 02.JPG|600px]] <br> <br> {{Tips Navigation |uplink=[[QGIS_Tips | Back to QGIS Tips And Tricks]] }}
Template used on this page:
Template:Tips Navigation
(
view source
)
Return to
QGIS Convert Rotate Label to Line
.