[Qgis-user] Labeling Lines with Bearings
Springfield Harrison
stellargps at gmail.com
Fri Feb 11 00:19:12 PST 2022
Hi Kirk,
Yes, that worked well. I added the code from the processing toolbox and
it worked fine.
Very helpful, thanks very much . . . .
--------
Cheers, Spring
On 10/Feb/2022 05:09, Kirk Schmidt wrote:
>
> Hi Springfield:
>
> 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.
>
> Kirk Schmidt
>
> On 2/10/2022 4:03 AM, Springfield Harrison wrote:
>>
>> Hello Everyone,
>>
>> Thanks very much for the suggestions. The main_angle option seem to
>> do the trick.
>>
>> 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.
>>
>> Thanks again, very helpful…
>>
>> --------
>> Cheers, Spring
>>
>>
>> On 04/Feb/2022 07:10, Kirk Schmidt wrote:
>>>
>>> Hi Springfield:
>>>
>>>
>>> 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.
>>>
>>> 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.
>>>
>>> Have fun
>>>
>>> Kirk
>>>
>>> On 2/4/2022 6:34 AM, Springfield Harrison wrote:
>>>>
>>>> Aha, thanks Kirk. That's why my lines are not as I intended. This
>>>> probably affects making the lines with the Shape Tool.
>>>>
>>>> Yes, it seems to draw in grid north, angle_main reports in True
>>>> DD. The map is 26907, UTM 7N.
>>>>
>>>> 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.
>>>>
>>>> Thanks Kirk . . . .
>>>>
>>>> --------
>>>> Cheers, Spring
>>>> On 03/Feb/2022 02:59, kirk wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Sent from my Galaxy
>>>>>
>>>>>
>>>>> -------- Original message --------
>>>>> From: kirk <kirk at nortekresources.com>
>>>>> Date: 2022-02-03 5:55 a.m. (GMT-04:00)
>>>>> To: Springfield Harrison <stellargps at gmail.com>,
>>>>> qgis-user at lists.osgeo.org
>>>>> Subject: RE: [Qgis-user] Labeling Lines with Bearings
>>>>>
>>>>> Hi Spingfield.
>>>>>
>>>>> I use a little routine and the core if it is:
>>>>>
>>>>> main_angle($geometry) which you can use in field calculator.
>>>>>
>>>>> 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.
>>>>>
>>>>> Kirk Schmidt
>>>>>
>>>>>
>>>>>
>>>>> Sent from my Galaxy
>>>>>
>>>>>
>>>>> -------- Original message --------
>>>>> From: Springfield Harrison <stellargps at gmail.com>
>>>>> Date: 2022-02-02 7:30 p.m. (GMT-04:00)
>>>>> To: qgis-user at lists.osgeo.org
>>>>> 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
>>>>> Qgis-user at lists.osgeo.org
>>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Qgis-user mailing list
>>>>> Qgis-user at lists.osgeo.org
>>>>> List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> --
>>> Kirk Schmidt, MScF, BScF, RPF
>>> General Manager
>>> Nortek Resource Solutions Inc.
>>> 26 Church Road
>>> Sutherlands River, NS
>>> B0K 1W0
>>> Tel (902) 922.3607
>>> Email:kirk at nortekresources.com
>>> Web:www.nortekresources.com
> --
> Kirk Schmidt, MScF, BScF, RPF
> General Manager
> Nortek Resource Solutions Inc.
> 26 Church Road
> Sutherlands River, NS
> B0K 1W0
> Tel (902) 922.3607
> Email:kirk at nortekresources.com
> Web:www.nortekresources.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220211/3a5282b2/attachment.html>
More information about the Qgis-user
mailing list