<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Springfield:</p>
    <p>You can place the python code in the
C:\Users\User\AppData\Roaming\QGIS\QGIS3\profiles\default\processing\scripts
      folder on your local machine and then it will show up under
      scripts in the processing toolbox.</p>
    <p>Kirk Schmidt<br>
    </p>
    <div class="moz-cite-prefix">On 2/10/2022 4:03 AM, Springfield
      Harrison wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:ad025b7d-02ae-f61d-f5f0-6372e355c905@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Hello Everyone,<br>
        <br>
        Thanks very much for the suggestions.  The main_angle option
        seem to do the trick.<br>
        <br>
        I didn't try the Python code.  Not familiar with that side of
        things although it is probably simple enough.  Could not find
        the recipe for adding it to the plug-in list, which I presume is
        where it is supposed to go.<br>
        <br>
        Thanks again, very helpful…<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 04/Feb/2022 07:10, Kirk Schmidt
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:56ce6ad1-62e4-2e87-88d1-35ac4b629a93@nortekresources.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <p>Hi Springfield:</p>
        <p><br>
        </p>
        <p>Sure it would , I have attached my little convergence tool. 
          Just create a point in the area where you want to know the
          convergence at let her rip.  The vary last column is the
          convergence in minutes.  So, depending on what side of the
          central meridian of your coordinate system you are, it will
          either be negative or positive. SO, I just used it yesterday
          for and area that is east of the meridian, UTM easting >
          500,000,   therefore the resulting convergence was 22 minutes,
          which need to be subtracted from the grid north value to
          obtain true north.  It is not a sophisticated workflow, but I
          only require it intermittently.</p>
        <p>I usually use NRCAN magnetic declination calculator (online)
          to verify the magnetic declination for the day.  But it seems
          to be offline. I convert everything to magnetic for field work
          and then there are no mistakes due to declination calculations
          and settings.</p>
        <p>Have fun</p>
        <p>Kirk<br>
        </p>
        <div class="moz-cite-prefix">On 2/4/2022 6:34 AM, Springfield
          Harrison wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:a061f674-0cde-0745-0eee-45466f10538b@gmail.com">
          <meta http-equiv="Content-Type" content="text/html;
            charset=UTF-8">
          <p>Aha, thanks Kirk.  That's why my lines are not as I
            intended.  This probably affects making the lines with the
            Shape Tool.</p>
          <p>Yes, it seems to draw in grid north, angle_main reports in
            True DD.  The map is 26907, UTM 7N.</p>
          <p>I calculated the difference between as drawn and as
            reported and used that to change the input figure.  It works
            OK, not exact as the convergence varies with longitude, I
            believe.</p>
          <p>Thanks Kirk . . . .<br>
          </p>
          <pre class="moz-signature" cols="72">--------
Cheers, Spring</pre>
          <pre class="moz-signature" cols="72">On 03/Feb/2022 02:59, kirk wrote:
</pre>
          <blockquote type="cite"
            cite="mid:1643886000436.75e8742847b5fa37@nortekresources.com">
            <meta http-equiv="Content-Type" content="text/html;
              charset=UTF-8">
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div id="composer_signature">
              <div style="font-size:85%;color:#575757" dir="auto">Sent
                from my Galaxy</div>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div dir="auto" style="font-size:100%;color:#000000"
              align="left">
              <div>-------- Original message --------</div>
              <div>From: kirk <a class="moz-txt-link-rfc2396E"
                  href="mailto:kirk@nortekresources.com"
                  moz-do-not-send="true"><kirk@nortekresources.com></a>
              </div>
              <div>Date: 2022-02-03 5:55 a.m. (GMT-04:00) </div>
              <div>To: Springfield Harrison <a
                  class="moz-txt-link-rfc2396E"
                  href="mailto:stellargps@gmail.com"
                  moz-do-not-send="true"><stellargps@gmail.com></a>,
                <a class="moz-txt-link-abbreviated
                  moz-txt-link-freetext"
                  href="mailto:qgis-user@lists.osgeo.org"
                  moz-do-not-send="true">qgis-user@lists.osgeo.org</a> </div>
              <div>Subject: RE: [Qgis-user] Labeling Lines with Bearings
              </div>
              <div><br>
              </div>
            </div>
            <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 dir="auto" id="composer_signature">
              <div dir="auto" style="font-size:85%;color:#575757">Sent
                from my Galaxy</div>
            </div>
            <div dir="auto"><br>
            </div>
            <br>
            <div style="font-size:100%;color:#000000" dir="auto"
              align="left">
              <div>-------- Original message --------</div>
              <div>From: Springfield Harrison <a
                  class="moz-txt-link-rfc2396E"
                  href="mailto:stellargps@gmail.com"
                  moz-do-not-send="true"><stellargps@gmail.com></a>
              </div>
              <div>Date: 2022-02-02 7:30 p.m. (GMT-04:00) </div>
              <div>To: <a class="moz-txt-link-abbreviated
                  moz-txt-link-freetext"
                  href="mailto:qgis-user@lists.osgeo.org"
                  moz-do-not-send="true">qgis-user@lists.osgeo.org</a> </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>
            <a class="moz-txt-link-abbreviated moz-txt-link-freetext"
              href="mailto:Qgis-user@lists.osgeo.org"
              moz-do-not-send="true">Qgis-user@lists.osgeo.org</a><br>
            List info: <a class="moz-txt-link-freetext"
              href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
              moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
            Unsubscribe: <a class="moz-txt-link-freetext"
              href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
              moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
            <br>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:Qgis-user@lists.osgeo.org" moz-do-not-send="true">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">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" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
          </blockquote>
        </blockquote>
        <pre class="moz-signature" cols="72">-- 
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
26 Church Road
Sutherlands River, NS
B0K 1W0
Tel (902) 922.3607
Email: <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:kirk@nortekresources.com" moz-do-not-send="true">kirk@nortekresources.com</a>
Web: <a class="moz-txt-link-abbreviated" href="http://www.nortekresources.com" moz-do-not-send="true">www.nortekresources.com</a></pre>
      </blockquote>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
26 Church Road
Sutherlands River, NS
B0K 1W0
Tel (902) 922.3607
Email: <a class="moz-txt-link-abbreviated" href="mailto:kirk@nortekresources.com">kirk@nortekresources.com</a>
Web: <a class="moz-txt-link-abbreviated" href="http://www.nortekresources.com">www.nortekresources.com</a></pre>
  </body>
</html>