# Convert Wind direction in degrees to Cardinal points

**URL:** <https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931>\
**Category:** Share Your Projects\
**Created:** [8 May 2019 21:50 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931 "2019-05-08T21:50:51Z")\
**Posts on this page:** 10\
**Page:** 3

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [26 April 2020 18:03 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931/41 "2020-04-26T18:03:05Z")

</div>

> [@ghayne](#):
>
> 16 points of the compass would not have been enough

I've never taken bearings except in degrees, although "half point green" is sometimes heard when sailing too close to the boundary of a channel. 😟

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [26 April 2020 18:12 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931/42 "2020-04-26T18:12:58Z")

</div>

> [@drmibell](#):
>
> I've never taken bearings except in degrees

Exactly my point!

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [26 April 2020 20:20 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931/43 "2020-04-26T20:20:58Z")

</div>

I tried to process all the required changes:

- The node has been renamed to [node-red-contrib-compass](https://github.com/bartbutenaers/node-red-contrib-compass)

- Currently only 16 points are being used, also in the translation files

- The french translation is now available

- The conversions have been renamed:

- The subsets have been renamed:

- All texts have been updated in both the info panel and the readme page

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [1 May 2020 15:04 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931/44 "2020-05-01T15:04:07Z")

</div>

It is available now:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/a/ca265763870ea06cad1165926b9c0235f5159acd.png)

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [1 May 2020 15:18 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931/45 "2020-05-01T15:18:23Z")

</div>

Well done Bart!

---

<div class="post-metadata">

**Author:** ![Kywalh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kywalh/32/23100_2.png) [@Kywalh](https://discourse.nodered.org/u/Kywalh)\
**Post date:** [2 June 2020 10:29 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931/46 "2020-06-02T10:29:27Z")

</div>

I'm not sure if I have to open a dedicated topic for that question...  
I installed your library and it is awesome !

However, I have a question:  
If I use a gauge to display the wind direction, how can I have the Cardinals in the middle and the arrow showing the angle in the same compass gauge?

Thanks !

---

<div class="post-metadata">

**Author:** ![Achronite](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/achronite/32/31868_2.png) [@Achronite](https://discourse.nodered.org/u/Achronite)\
**Post date:** [4 June 2020 18:25 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931/47 "2020-06-04T18:25:03Z")

</div>

Yeah this needs to be added as an option to the gauge-compass node in node-red-dashboard.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 June 2020 18:27 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931/48 "2020-06-04T18:27:35Z")

</div>

> [@Kywalh](#):
>
> I'm not sure if I have to open a dedicated topic for that question..

Hi Kywalh,  
Yes indeed I think you might get more response when you open a dedicated topic, because people with knowledge about gauges might not read discussions about cardinal point conversions...  
Good luck with it!

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [4 June 2020 18:33 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931/49 "2020-06-04T18:33:51Z")

</div>

> [@BartButenaers](#):
>
> people with knowledge about gauges

Some of such do read 😉  
This seems interesting thing. If somebody can make nice sketch about the layout and may be some words about what the gauge should give for users, then it is highly possible that such gauge will be created.

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [4 June 2020 18:42 UTC](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931/50 "2020-06-04T18:42:49Z")

</div>

> [@hotNipi](#):
>
> then it is highly possible that such gauge will be created.

And it will be wonderful 🙂

[Previous page](https://discourse.nodered.org/t/convert-wind-direction-in-degrees-to-cardinal-points/10931.md?page=2)
