[Geoserver-users] Styling of windbarbs

Following the instructions in the GeoServer docs I have added the style windbarbs to my layer.

https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html

The flag in a windbarb symbolizing 50kts wind should be filled. I have been trying to find how the well known windbarb is built (and possibly can be changed) in GeoServer but have had no luck. Anyone has any good suggestions?

Thanks!

Niklas

The windbarb rendering code is in geotools.

https://github.com/geotools/geotools/tree/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs

You may be able to add a custom symbol using normal GeoServer styling, but the code approach is likely easier and better.

Brad.

On 11 Mar 2021 4:20 am, Niklas Elelid <geoserverlist@…10727…> wrote:

Following the instructions in the GeoServer docs I have added the style windbarbs to my layer.

https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html

The flag in a windbarb symbolizing 50kts wind should be filled. I have been trying to find how the well known windbarb is built (and possibly can be changed) in GeoServer but have had no luck. Anyone has any good suggestions?

Thanks!

Niklas

If you think there is a bug in the wind barb rendering then please start out by telling us what you think it should be and why you think that. This can then go into a bug report, and finally you can follow that up with a PR containing the code to fix the problem. At present we have no idea if this is a problem or not (remember none of the devs are meteorologists).

Ian

···

Ian Turton

Right,
and the piece of code doing the build of the pennant is right there:
https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L358

Regards,
Daniele

···

Regards,
Daniele Romagnoli

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

I suspect this is the problem;

https://github.com/geotools/geotools/blob/872b44c28bb55f1e301bb607d53d431826ab7e78/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L229

If that was 47 I think you will get a filled pennant

That is assuming this diagram is officially correct;
https://tephi.readthedocs.io/en/latest/barbs.html

Russ

···

Regards,
Daniele Romagnoli

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Thank you! I'm new to GeoServer, only using it since 2 days so still trying to get my head around everything but so far it's an amazing product that has helped me a lot. This is not so much a bug as a graphical enhancement. The flag (pennant) correctly symbolizes each 50 knots, it's just that it should be filled instead of just outlined. I'm not a dev nor meteorologist but I am an airline pilot so I read these wind maps on a daily basis :slight_smile:

I've found where it's created in the code now, but Java is not my first language so I would not dare to go as far as to creating a PR myself. At least I don't have to keep looking for a configuration somewhere that would do the trick.

Again, thanks!

/Niklas

On 2021-03-11 09:20, Ian Turton wrote:

If you think there is a bug in the wind barb rendering then please start out by telling us what you think it should be and why you think that. This can then go into a bug report, and finally you can follow that up with a PR containing the code to fix the problem. At present we have no idea if this is a problem or not (remember none of the devs are meteorologists).

Ian

On Wed, 10 Mar 2021 at 18:03, Niklas Elelid <geoserverlist@anonymised.com <mailto:geoserverlist@anonymised.com>> wrote:

    Following the instructions in the GeoServer docs I have added the
    style windbarbs to my layer.

    https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html
    <https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html&gt;

    The flag in a windbarb symbolizing 50kts wind should be filled. I
    have been trying to find how the well known windbarb is built (and
    possibly can be changed) in GeoServer but have had no luck. Anyone
    has any good suggestions?

    Thanks!

    Niklas

    _______________________________________________
    Geoserver-users mailing list

    Please make sure you read the following two resources before
    posting to this list:
    - Earning your support instead of buying it, but Ian Turton:
    http://www.ianturton.com/talks/foss4g.html#/
    <http://www.ianturton.com/talks/foss4g.html#/&gt;
    - The GeoServer user list posting guidelines:
    http://geoserver.org/comm/userlist-guidelines.html
    <http://geoserver.org/comm/userlist-guidelines.html&gt;

    If you want to request a feature or an improvement, also see this:
    https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
    <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&gt;

    Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users
    <https://lists.sourceforge.net/lists/listinfo/geoserver-users&gt;

--
Ian Turton

Did Nikas maybe mean (see attachment, from geo-solutions page), that the 'pennant' (little triangle flag) should be FILLED and not only having an outline?

Second 'issue' then is as Russ says: WHEN should you exactly start showing the 'pennant': at 50 or 48 knots...

Is https://tephi.readthedocs.io/en/latest/barbs.html an authorative/canonical source? Or are there several and geotools just used another 'standard' :slight_smile:

Regards,

Richard Duivenvoorde

On 3/11/21 10:50 AM, Russ Hore wrote:

I suspect this is the problem;

https://github.com/geotools/geotools/blob/872b44c28bb55f1e301bb607d53d431826ab7e78/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L229

If that was 47 I think you will get a filled pennant

That is assuming this diagram is officially correct;
https://tephi.readthedocs.io/en/latest/barbs.html

Russ

On 11 Mar 2021, at 09:04, Daniele Romagnoli <daniele.romagnoli@anonymised.com <mailto:daniele.romagnoli@anonymised.com>> wrote:

Right,
and the piece of code doing the build of the pennant is right there:
https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L358

Regards,
Daniele

On Thu, Mar 11, 2021 at 2:37 AM <bradh@anonymised.com <mailto:bradh@anonymised.com>> wrote:

    The windbarb rendering code is in geotools.

    https://github.com/geotools/geotools/tree/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs

    You may be able to add a custom symbol using normal GeoServer styling, but the code approach is likely easier and better.

    Brad.

    On 11 Mar 2021 4:20 am, Niklas Elelid <geoserverlist@anonymised.com <mailto:geoserverlist@anonymised.com>> wrote:

        Following the instructions in the GeoServer docs I have added the style windbarbs to my layer.

        https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html

        The flag in a windbarb symbolizing 50kts wind should be filled. I have been trying to find how the well known windbarb is built (and possibly can be changed) in GeoServer but have had no luck. Anyone has any good suggestions?

        Thanks!

        Niklas

    _______________________________________________
    Geoserver-users mailing list

    Please make sure you read the following two resources before posting to this list:
    - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
    - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

    If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

    Geoserver-users@lists.sourceforge.net <mailto:Geoserver-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Regards,
Daniele Romagnoli

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it/&gt;
http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net <mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Screenshot-20210311145857-213x107.png

Yep,
I’m pretty sure Niklas was referring about that empty outline instead of a filled black triangle.

I think that the ranges rounding (i.e. 48-52 → 50) is already handled here:
https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarbsFactory.java#L307

where it computes the index of the graphic mark to be used for the provided speed.

Regards,
Daniele

On Thu, Mar 11, 2021 at 3:04 PM Richard Duivenvoorde <rdmailings@anonymised.com> wrote:

Did Nikas maybe mean (see attachment, from geo-solutions page), that the ‘pennant’ (little triangle flag) should be FILLED and not only having an outline?

Second ‘issue’ then is as Russ says: WHEN should you exactly start showing the ‘pennant’: at 50 or 48 knots…

Is https://tephi.readthedocs.io/en/latest/barbs.html an authorative/canonical source? Or are there several and geotools just used another ‘standard’ :slight_smile:

Regards,

Richard Duivenvoorde

On 3/11/21 10:50 AM, Russ Hore wrote:

I suspect this is the problem;

https://github.com/geotools/geotools/blob/872b44c28bb55f1e301bb607d53d431826ab7e78/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L229 <https://github.com/geotools/geotools/blob/872b44c28bb55f1e301bb607d53d431826ab7e78/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L229>

If that was 47 I think you will get a filled pennant

That is assuming this diagram is officially correct;
https://tephi.readthedocs.io/en/latest/barbs.html <https://tephi.readthedocs.io/en/latest/barbs.html>

Russ

On 11 Mar 2021, at 09:04, Daniele Romagnoli <daniele.romagnoli@anonymised.com. mailto:[daniele.romagnoli@anonymised.com](mailto:daniele.romagnoli@anonymised.com)> wrote:

Right,
and the piece of code doing the build of the pennant is right there:
https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L358 <https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L358>

Regards,
Daniele

On Thu, Mar 11, 2021 at 2:37 AM <bradh@anonymised.com mailto:[bradh@anonymised.com](mailto:bradh@anonymised.com)> wrote:

The windbarb rendering code is in geotools.

https://github.com/geotools/geotools/tree/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs <https://github.com/geotools/geotools/tree/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs>

You may be able to add a custom symbol using normal GeoServer styling, but the code approach is likely easier and better.

Brad.

On 11 Mar 2021 4:20 am, Niklas Elelid <geoserverlist@anonymised.com10727… mailto:[geoserverlist@anonymised.com](mailto:geoserverlist@anonymised.com)> wrote:

Following the instructions in the GeoServer docs I have added the style windbarbs to my layer.

https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html <https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html>

The flag in a windbarb symbolizing 50kts wind should be filled. I have been trying to find how the well known windbarb is built (and possibly can be changed) in GeoServer but have had no luck. Anyone has any good suggestions?

Thanks!

Niklas


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer>

Geoserver-users@lists.sourceforge.net mailto:[Geoserver-users@lists.sourceforge.net](mailto:Geoserver-users@lists.sourceforge.net)
https://lists.sourceforge.net/lists/listinfo/geoserver-users <https://lists.sourceforge.net/lists/listinfo/geoserver-users>


Regards,
Daniele Romagnoli

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V <http://goo.gl/it488V> for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it <http://www.geo-solutions.it/>
http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer>

Geoserver-users@lists.sourceforge.net mailto:[Geoserver-users@lists.sourceforge.net](mailto:Geoserver-users@lists.sourceforge.net)
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Regards,
Daniele Romagnoli

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Yes yes, that's definitely what I mean. I put that in the original post to the list, but perhaps I wrote it in a convoluted way.
No problem getting the conversion "knots->barb", it's just a matter of how the pennant is drawn. Now outlined, should be filled instead.
Just a very minor issue, but my future viewers of the layer will definitely comment on this...

Thanks for the great feedback and support here!

N.

PS. I could not believe I could go from scratch to now having a server serving map layers with both time and elevation dimensions in less than 3 days (and that included finding and converting the data source). Such a great product. DS.

On 2021-03-11 16:40, Daniele Romagnoli wrote:

Yep,
I'm pretty sure Niklas was referring about that empty outline instead of a filled black triangle.

I think that the ranges rounding (i.e. 48-52 -> 50) is already handled here:
https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarbsFactory.java#L307
where it computes the index of the graphic mark to be used for the provided speed.

Regards,
Daniele

On Thu, Mar 11, 2021 at 3:04 PM Richard Duivenvoorde <rdmailings@anonymised.com <mailto:rdmailings@anonymised.com>> wrote:

    Did Nikas maybe mean (see attachment, from geo-solutions page),
    that the 'pennant' (little triangle flag) should be FILLED and not
    only having an outline?

    Second 'issue' then is as Russ says: WHEN should you exactly start
    showing the 'pennant': at 50 or 48 knots...

    Is https://tephi.readthedocs.io/en/latest/barbs.html
    <https://tephi.readthedocs.io/en/latest/barbs.html&gt; an
    authorative/canonical source? Or are there several and geotools
    just used another 'standard' :slight_smile:

    Regards,

    Richard Duivenvoorde

    On 3/11/21 10:50 AM, Russ Hore wrote:
    > I suspect this is the problem;
    >
    https://github.com/geotools/geotools/blob/872b44c28bb55f1e301bb607d53d431826ab7e78/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L229
    <https://github.com/geotools/geotools/blob/872b44c28bb55f1e301bb607d53d431826ab7e78/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L229&gt;
    <https://github.com/geotools/geotools/blob/872b44c28bb55f1e301bb607d53d431826ab7e78/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L229
    <https://github.com/geotools/geotools/blob/872b44c28bb55f1e301bb607d53d431826ab7e78/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L229&gt;&gt;
    >
    > If that was 47 I think you will get a filled pennant
    >
    > That is assuming this diagram is officially correct;
    > https://tephi.readthedocs.io/en/latest/barbs.html
    <https://tephi.readthedocs.io/en/latest/barbs.html&gt;
    <https://tephi.readthedocs.io/en/latest/barbs.html
    <https://tephi.readthedocs.io/en/latest/barbs.html&gt;&gt;
    >
    > Russ
    >
    >> On 11 Mar 2021, at 09:04, Daniele Romagnoli
    <daniele.romagnoli@anonymised.com
    <mailto:daniele.romagnoli@anonymised.com>
    <mailto:daniele.romagnoli@anonymised.com
    <mailto:daniele.romagnoli@anonymised.com>>> wrote:
    >>
    >> Right,
    >> and the piece of code doing the build of the pennant is right
    there:
    >>
    https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L358
    <https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L358&gt;
    <https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L358
    <https://github.com/geotools/geotools/blob/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs/WindBarb.java#L358&gt;&gt;
    >>
    >> Regards,
    >> Daniele
    >>
    >> On Thu, Mar 11, 2021 at 2:37 AM <bradh@anonymised.com
    <mailto:bradh@anonymised.com> <mailto:bradh@anonymised.com
    <mailto:bradh@anonymised.com>>> wrote:
    >>
    >> The windbarb rendering code is in geotools.
    >>
    https://github.com/geotools/geotools/tree/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs
    <https://github.com/geotools/geotools/tree/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs&gt;
    <https://github.com/geotools/geotools/tree/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs
    <https://github.com/geotools/geotools/tree/main/modules/library/render/src/main/java/org/geotools/renderer/style/windbarbs&gt;&gt;
    >>
    >> You may be able to add a custom symbol using normal
    GeoServer styling, but the code approach is likely easier and better.
    >>
    >> Brad.
    >>
    >> On 11 Mar 2021 4:20 am, Niklas Elelid
    <geoserverlist@anonymised.com <mailto:geoserverlist@anonymised.com>
    <mailto:geoserverlist@anonymised.com>>
    wrote:
    >>
    >> Following the instructions in the GeoServer docs I have
    added the style windbarbs to my layer.
    >>
    https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html
    <https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html&gt;
    <https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html
    <https://geoserver.geo-solutions.it/educational/en/multidim/accessing_multidim/rtx/wind_barbs.html&gt;&gt;
    >>
    >> The flag in a windbarb symbolizing 50kts wind should be
    filled. I have been trying to find how the well known windbarb is
    built (and possibly can be changed) in GeoServer but have had no
    luck. Anyone has any good suggestions?
    >>
    >> Thanks!
    >>
    >> Niklas
    >>
    >> _______________________________________________
    >> Geoserver-users mailing list
    >>
    >> Please make sure you read the following two resources
    before posting to this list:
    >> - Earning your support instead of buying it, but Ian
    Turton: http://www.ianturton.com/talks/foss4g.html#/
    <http://www.ianturton.com/talks/foss4g.html#/&gt;
    <http://www.ianturton.com/talks/foss4g.html#/
    <http://www.ianturton.com/talks/foss4g.html#/&gt;&gt;
    >> - The GeoServer user list posting guidelines:
    http://geoserver.org/comm/userlist-guidelines.html
    <http://geoserver.org/comm/userlist-guidelines.html&gt;
    <http://geoserver.org/comm/userlist-guidelines.html
    <http://geoserver.org/comm/userlist-guidelines.html&gt;&gt;
    >>
    >> If you want to request a feature or an improvement, also
    see this:
    https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
    <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&gt;
    <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
    <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&gt;&gt;
    >>
    >> Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    <mailto:Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>>
    >> https://lists.sourceforge.net/lists/listinfo/geoserver-users
    <https://lists.sourceforge.net/lists/listinfo/geoserver-users&gt;
    <https://lists.sourceforge.net/lists/listinfo/geoserver-users
    <https://lists.sourceforge.net/lists/listinfo/geoserver-users&gt;&gt;
    >>
    >> --
    >> Regards,
    >> Daniele Romagnoli
    >> ==
    >> GeoServer Professional Services from the experts! Visit
    http://goo.gl/it488V <http://goo.gl/it488V
    <http://goo.gl/it488V&gt;&gt; for more information.
    >> ==
    >>
    >> Ing. Daniele Romagnoli
    >> Senior Software Engineer
    >>
    >> GeoSolutions S.A.S.
    >> Via di Montramito 3/A
    >> 55054 Massarosa (LU)
    >> Italy
    >> phone: +39 0584 962313
    >> fax: +39 0584 1660272
    >>
    >> http://www.geo-solutions.it
    <http://www.geo-solutions.it/&gt;
    >> http://twitter.com/geosolutions_it
    <http://twitter.com/geosolutions_it&gt;
    <http://twitter.com/geosolutions_it
    <http://twitter.com/geosolutions_it&gt;&gt;
    >>
    >> -------------------------------------------------------
    >>
    >> Con riferimento alla normativa sul trattamento dei dati
    personali (Reg. UE 2016/679 - Regolamento generale sulla
    protezione dei dati “GDPR”), si precisa che ogni circostanza
    inerente alla presente email (il suo contenuto, gli eventuali
    allegati, etc.) è un dato la cui conoscenza è riservata al/i
    solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le
    è giunto per errore, è tenuta/o a cancellarlo, ogni altra
    operazione è illecita. Le sarei comunque grato se potesse darmene
    notizia.
    >>
    >> This email is intended only for the person or entity to which
    it is addressed and may contain information that is privileged,
    confidential or otherwise protected from disclosure. We remind
    that - as provided by European Regulation 2016/679 “GDPR” -
    copying, dissemination or use of this e-mail or the information
    herein by anyone other than the intended recipient is prohibited.
    If you have received this email by mistake, please notify us
    immediately by telephone or e-mail.
    >> _______________________________________________
    >> Geoserver-users mailing list
    >>
    >> Please make sure you read the following two resources before
    posting to this list:
    >> - Earning your support instead of buying it, but Ian Turton:
    http://www.ianturton.com/talks/foss4g.html#/
    <http://www.ianturton.com/talks/foss4g.html#/&gt;
    <http://www.ianturton.com/talks/foss4g.html#/
    <http://www.ianturton.com/talks/foss4g.html#/&gt;&gt;
    >> - The GeoServer user list posting guidelines:
    http://geoserver.org/comm/userlist-guidelines.html
    <http://geoserver.org/comm/userlist-guidelines.html&gt;
    <http://geoserver.org/comm/userlist-guidelines.html
    <http://geoserver.org/comm/userlist-guidelines.html&gt;&gt;
    >>
    >> If you want to request a feature or an improvement, also see
    this:
    https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
    <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&gt;
    <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
    <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&gt;&gt;
    >>
    >> Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    <mailto:Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>>
    >> https://lists.sourceforge.net/lists/listinfo/geoserver-users
    <https://lists.sourceforge.net/lists/listinfo/geoserver-users&gt;
    >
    > _______________________________________________
    > Geoserver-users mailing list
    >
    > Please make sure you read the following two resources before
    posting to this list:
    > - Earning your support instead of buying it, but Ian Turton:
    http://www.ianturton.com/talks/foss4g.html#/
    <http://www.ianturton.com/talks/foss4g.html#/&gt;
    > - The GeoServer user list posting guidelines:
    http://geoserver.org/comm/userlist-guidelines.html
    <http://geoserver.org/comm/userlist-guidelines.html&gt;
    >
    > If you want to request a feature or an improvement, also see
    this:
    https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
    <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&gt;
    >
    > Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    > https://lists.sourceforge.net/lists/listinfo/geoserver-users
    <https://lists.sourceforge.net/lists/listinfo/geoserver-users&gt;
    >

--
Regards,
Daniele Romagnoli

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.