<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Phil & Calvin,<br>
      <br>
      Thanks very much to you both for those tips.<br>
      <br>
      The Vector Shake Tools options were good but required some extra
      work to transfer the new information to the existing layer.  I
      think I could have made it work but then found one of the options
      in Stack Exchange to be exactly what was needed.<br>
      <br>
      This is it:<br>
      <br>
      "And now it is even easier than Kay's answer -first use 'explode
      lines' tool, yielding all line segments, then calculate azimuth
      with field calculator: <b>main_angle($geometry)</b>".  <br>
      <br>
      This is brilliant, it can be used to populate an attribute field
      in the table or directly in a label formula as desired.  Exactly
      the solution I was looking for!<br>
      <br>
      Thanks very much to you both, this is a great resource…<br>
    </p>
    <pre class="moz-signature" cols="72">--------
Cheers, Spring</pre>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 02/Feb/2022 16:58, Phil Wyatt wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:00c701d81899$38a65f40$a9f31dc0$@wyatt-family.com">
      <pre class="moz-quote-pre" wrap="">Hi Spring,

Bottom  couple of posts in this stackexchange question should get you started

<a class="moz-txt-link-freetext" href="https://gis.stackexchange.com/questions/55449/how-do-i-find-vector-line-bearing-in-qgis-or-grass">https://gis.stackexchange.com/questions/55449/how-do-i-find-vector-line-bearing-in-qgis-or-grass</a>

Cheers - Phil

-----Original Message-----
From: Qgis-user <a class="moz-txt-link-rfc2396E" href="mailto:qgis-user-bounces@lists.osgeo.org"><qgis-user-bounces@lists.osgeo.org></a> On Behalf Of Springfield Harrison
Sent: Thursday, 3 February 2022 10:30 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>
Subject: [Qgis-user] Labeling Lines with Bearings

Hello,

I need to put the line direction (azimuth) into a line label. Some searching has not come up with anything.

Is there a way?  Thanks very much . . . .

--------
Cheers, Spring



_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>

</pre>
    </blockquote>
  </body>
</html>