<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body dir="auto"><div dir="auto">Hi Spingfield.</div><div dir="auto"><br></div><div dir="auto">I use a little routine and the core if it is:</div><div dir="auto"><br></div><div dir="auto"><span style="color: rgb(12, 13, 14); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);">main_angle($geometry) which you can use in field calculator.</span></div><div dir="auto"><span style="color: rgb(12, 13, 14); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);"><br></span></div><div dir="auto"><span style="color: rgb(12, 13, 14); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);">Note this will give you the azimuth in relation to grid north for the coordinate system you are using.  For projections, you will need to lookup or calculate convergence to get the adjustment to true north. </span></div><div dir="auto"><span style="color: rgb(12, 13, 14); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);"><br></span></div><div dir="auto"><span style="color: rgb(12, 13, 14); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);">Kirk Schmidt</span></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div id="composer_signature" dir="auto"><div style="font-size:85%;color:#575757" dir="auto">Sent from my Galaxy</div></div><div dir="auto"><br></div><div><br></div><div align="left" dir="auto" style="font-size:100%;color:#000000"><div>-------- Original message --------</div><div>From: Springfield Harrison <stellargps@gmail.com> </div><div>Date: 2022-02-02  7:30 p.m.  (GMT-04:00) </div><div>To: qgis-user@lists.osgeo.org </div><div>Subject: [Qgis-user] Labeling Lines with Bearings </div><div><br></div></div>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>Qgis-user@lists.osgeo.org<br>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user<br>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user<br></body></html>