Re: [Qgis-user] FW: RE: Labeling Lines with Bearings

2022-02-04 Thread Springfield Harrison
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 
Date: 2022-02-03 5:55 a.m. (GMT-04:00)
To: Springfield Harrison , 
qgis-user@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 
Date: 2022-02-02 7:30 p.m. (GMT-04:00)
To: qgis-user@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@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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] FW: RE: Labeling Lines with Bearings

2022-02-03 Thread kirk
Sent from my Galaxy
 Original message From: kirk  Date: 
2022-02-03  5:55 a.m.  (GMT-04:00) To: Springfield Harrison 
, qgis-user@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 SchmidtSent from my 
Galaxy Original message From: Springfield Harrison 
 Date: 2022-02-02  7:30 p.m.  (GMT-04:00) To: 
qgis-user@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 listQgis-user@lists.osgeo.orgList info: 
https://lists.osgeo.org/mailman/listinfo/qgis-userUnsubscribe: 
https://lists.osgeo.org/mailman/listinfo/qgis-user___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user