<div dir="ltr">Hi Spring,<div><br></div><div>The Shape Tools plugin has several tools for doing this. Once it is installed here are the options. 1) If you already have a line layer you can run the following from the QGIS menu "Vector->Shape Tools->Geodesic measurement layer". Deselect "Measure total length rather than each line segment" and when you run the algorithm it will give you a table that has the bearing from the first point to the second point. It automatically labels it with the distance, but you can click in properties and change it to the heading_to attribute which is your azimuth.</div><div><br></div><div>2) The second method is to use the "Vector->Shape Tools->Geodesic measure tool". This is a measurement tool like the QGIS measurement tool, but it also includes "Heading To" and "Heading From". If you click on the "Save to Layer" button, it saves this to a measurement layer with the azimuths and distances in the attributes.</div><div><br></div><div>I probably should provide an option for the user to select what automatic labeling displays. Right now it is just the distance, but I could also allow for azimuth.</div><div><br></div><div>I hope that helps.</div><div><br></div><div>Calvin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 2, 2022 at 6:30 PM Springfield Harrison <<a href="mailto:stellargps@gmail.com">stellargps@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I need to put the line direction (azimuth) into a line label. Some <br>
searching has not come up with anything.<br>
<br>
Is there a way?  Thanks very much . . . .<br>
<br>
--------<br>
Cheers, Spring<br>
<br>
<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>