[Qgis-user] Shape Tools New Capabilities - Compass cardinal directions
Kirk Schmidt
kirk at nortekresources.com
Fri Mar 10 05:09:57 PST 2023
Nice Update Calvin.
What is your 0 or 360 degree reference? I assume it is grid north if
you use a projected coordinate system.
Kirk Schmidt
On 3/10/2023 8:04 AM, C Hamilton via QGIS-User wrote:
> I thought I would highlight a couple of updates to the Shape Tools
> plugin. For those who are not aware, Shape Tools has a measuring tool
> that not only includes the distance from point A to B, but also
> displays the azimuth from A to B and from B to A. It shows each
> segment with these features and the total distance. It also has a
> measurement layer algorithm that creates a new layer from a polygon or
> line layer with already styled measurements of the line segments.
>
> The recent addition is to also include the compass cardinal directions
> such as N, S, E, W or NE, WSW, or NEbE depending on the number of
> compass points that are selected. This has to be enabled from
> Vector->Shape Tools->Settings and then look for "Points of the
> compass" and you can select None, 4, 8, 16, or 32. It defaults to None.
>
> The other addition is a related expression function with some examples
>
> st_compass( azimuth[, number_of_points, mode] )
>
> st_compass(33) → 'NNE'
> st_compass(33, 8) → 'NE'
> st_compass(33, 32) → 'NEbN'
> st_compass(33, 16,'full') → 'north-northeast'
> st_compass(33, 32,'full') → 'northeast by north'
> st_compass(33, 32,'trad') → 'Quarto di Greco verso Tramontana'
>
> Enjoy,
>
> Calvin
>
> _______________________________________________
> 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
More information about the QGIS-User
mailing list