<div dir="ltr">Richard,<div><br></div><div>The Shape Tools plugin has a <a href="https://github.com/NationalSecurityAgency/qgis-shapetools-plugin#--geodesic-measure-tool">geodesic measure tool</a> that in addition to distance, displays the bearing to and bearing from two points. Right now it just displays in decimal degrees, but it wouldn't be difficult to add a setting option to display in a DMS format. Give it a try and let me know whether you think it would be helpful to include a DMS format.</div><div><br></div><div>Thanks,</div><div><br></div><div>Calvin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 2, 2021 at 9:56 AM Richard Greenwood <<a href="mailto:richard.greenwood@gmail.com">richard.greenwood@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"><div dir="ltr">Is it possible for a user to add a format to the new bearing tool in 3.22? Cadastral descriptions in the United States are usually expressed in degrees, minutes, seconds in four quadrants e.g. <div>  N 45°27'18"W or S 15°07'54"E, etc.</div><div>I have a SQL expression below that I use for labeling in that format. I would like to add it as a format option in the bearing tool.</div><font face="monospace">concat(<br>  case<br>    when degrees(azimuth(start_point($geometry), end_point($geometry)))< 90<br>      then CONCAT('N',to_dms(degrees(azimuth(start_point($geometry), end_point($geometry))), 'x',0,'aligned'))<br>    when degrees(azimuth(start_point($geometry), end_point($geometry)))< 180<br>      then CONCAT('S', to_dms(180 - degrees(azimuth(start_point($geometry), end_point($geometry))), 'x',0,'aligned'))<br>    when degrees(azimuth(start_point($geometry), end_point($geometry)))< 270<br>      then CONCAT('S', to_dms(degrees(azimuth(start_point($geometry), end_point($geometry))) -180, 'x',0), '°W')<br>    else<br>      CONCAT('N', to_dms(360 - degrees(azimuth(start_point($geometry), end_point($geometry))), 'x',0), 'W')<br>  end<br>) </font><br><div><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Richard W. Greenwood<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div></div></div>
_______________________________________________<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>