Re: [Geoserver-users] GeoServer 2.19-RC Release Candidate available for testing

2021-03-11 Thread Andrea Aime
Known issue with the WPS plugin, has been fixed already. If you want to do
more tests, remove the gs-wps-jdbc jar from WEB-INF/lib

Cheers
Andrea

Il Gio 11 Mar 2021, 19:37 Chris Vradis  ha scritto:

> Hello, I installed the 2.19RC version on a macOS Catalina installation,
> using the Platform Independent Binary, with oracle Java 12.0.1  without any
> issues (13200 or so layers published successfully).
>
> When I installed the WPS plugin I got the error: FATAL: role "geotools"
> does not exist.Part of the log is as follows:
>
> - Exception encountered during context initialization - cancelling refresh
> attempt: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'wmtsCapabilitiesProvider' defined in URL
> [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-gwc-2.19-RC.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'geoServer' while setting constructor
> argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'geoServer' defined in URL
> [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-main-2.19-RC.jar!/applicationContext.xml]:
> Initialization of bean failed; nested exception is
> java.lang.RuntimeException:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'wpsInitializer' defined in URL
> [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'executionManager' while setting
> constructor argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'executionManager' defined in URL
> [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'processStatusTracker' while setting
> constructor argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'processStatusTracker' defined in URL
> [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'processStatusStore' defined in URL
> [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-jdbc-2.19-RC.jar!/applicationContext.xml]:
> Bean instantiation via constructor failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [org.geoserver.wps.jdbc.JDBCStatusStore]: Constructor threw exception;
> nested exception is java.lang.RuntimeException: Unable to obtain
> connection: Cannot create PoolableConnectionFactory (FATAL: role "geotools"
> does not exist)
> 11 Μαρ 19:59:03 WARN [support.DisposableBeanAdapter] - Invocation of
> destroy method failed on bean with name 'geoServerLoader':
> org.springframework.beans.factory.BeanCreationNotAllowedException: Error
> creating bean with name 'geoWebCacheExtensions': Singleton bean creation
> not allowed while singletons of this factory are in destruction (Do not
> request a bean from a BeanFactory in a destroy method implementation!)
> 11 Μαρ 19:59:03 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'wmtsCapabilitiesProvider' defined in URL
> [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-gwc-2.19-RC.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'geoServer' while setting constructor
> argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'geoServer' defined in URL
> [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-main-2.19-RC.jar!/applicationContext.xml]:
> Initialization of bean failed; nested exception is
> java.lang.RuntimeException:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'wpsInitializer' defined in URL
> [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'executionManager' while setting
> constructor argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'executionManager' defined in URL
> [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'processStatusTracker' while setting
> constructor argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'processStatusTracker' defined in URL
> 

Re: [Geoserver-users] GeoServer 2.19-RC Release Candidate available for testing

2021-03-11 Thread Chris Vradis
Hello, I installed the 2.19RC version on a macOS Catalina installation, using 
the Platform Independent Binary, with oracle Java 12.0.1  without any issues 
(13200 or so layers published successfully).

When I installed the WPS plugin I got the error: FATAL: role "geotools" does 
not exist.Part of the log is as follows:

- Exception encountered during context initialization - cancelling refresh 
attempt: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'wmtsCapabilitiesProvider' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-gwc-2.19-RC.jar!/applicationContext.xml]:
 Cannot resolve reference to bean 'geoServer' while setting constructor 
argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'geoServer' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-main-2.19-RC.jar!/applicationContext.xml]:
 Initialization of bean failed; nested exception is java.lang.RuntimeException: 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'wpsInitializer' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
 Cannot resolve reference to bean 'executionManager' while setting constructor 
argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'executionManager' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
 Cannot resolve reference to bean 'processStatusTracker' while setting 
constructor argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'processStatusTracker' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
 Initialization of bean failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'processStatusStore' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-jdbc-2.19-RC.jar!/applicationContext.xml]:
 Bean instantiation via constructor failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.geoserver.wps.jdbc.JDBCStatusStore]: Constructor threw exception; nested 
exception is java.lang.RuntimeException: Unable to obtain connection: Cannot 
create PoolableConnectionFactory (FATAL: role "geotools" does not exist)
11 Μαρ 19:59:03 WARN [support.DisposableBeanAdapter] - Invocation of destroy 
method failed on bean with name 'geoServerLoader': 
org.springframework.beans.factory.BeanCreationNotAllowedException: Error 
creating bean with name 'geoWebCacheExtensions': Singleton bean creation not 
allowed while singletons of this factory are in destruction (Do not request a 
bean from a BeanFactory in a destroy method implementation!)
11 Μαρ 19:59:03 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'wmtsCapabilitiesProvider' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-gwc-2.19-RC.jar!/applicationContext.xml]:
 Cannot resolve reference to bean 'geoServer' while setting constructor 
argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'geoServer' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-main-2.19-RC.jar!/applicationContext.xml]:
 Initialization of bean failed; nested exception is java.lang.RuntimeException: 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'wpsInitializer' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
 Cannot resolve reference to bean 'executionManager' while setting constructor 
argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'executionManager' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
 Cannot resolve reference to bean 'processStatusTracker' while setting 
constructor argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'processStatusTracker' defined in URL 
[jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]:
 Initialization of bean failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'processStatusStore' defined in URL 

[Geoserver-users] datastore cascade

2021-03-11 Thread Crawford Jr., Stephen Rand
Hi All,

I have a postgres datastore with many published layers.  When my sys admins 
make a clone of the database with a new name, and point the datastore to the 
clone, will all the published layers cascade?  So I do not need to reconfigure 
a bunch of layers?

Thanks,
Steve
___
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


Re: [Geoserver-users] Styling of windbarbs

2021-03-11 Thread Niklas Elelid
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 
mailto:rdmaili...@duif.net>> 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' :-)

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
mailto:daniele.romagn...@geo-solutions.it>
>> 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 mailto:br...@frogmouth.net> >> 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.
>>
   

Re: [Geoserver-users] Styling of windbarbs

2021-03-11 Thread Daniele Romagnoli
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 
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' :-)
>
> 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.romagn...@geo-solutions.it  daniele.romagn...@geo-solutions.it>> 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  br...@frogmouth.net>> 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  > 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:
> >> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/ <
> http://www.ianturton.com/talks/foss4g.html#/>
> >> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html <
> 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
> <
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
> >
> >>
> >>
> >> Geoserver-users@lists.sourceforge.net  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  for more information.
> >> ==
> >>
> >> Ing. Daniele Romagnoli
> >> Senior Software Engineer
> >>
> >> GeoSolutions S.A.S.
> >> Via di Montramito 3/A
> >> 55054  Massarosa 

Re: [Geoserver-users] Styling of windbarbs

2021-03-11 Thread Richard Duivenvoorde
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' :-)

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 
>> > > 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 > > 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 > > 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 
>> 
>> 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. 

Re: [Geoserver-users] Styling of windbarbs

2021-03-11 Thread Niklas Elelid
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 :-)


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 > 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

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




--
Ian Turton



___
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


Re: [Geoserver-users] Styling of windbarbs

2021-03-11 Thread Russ Hore
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 
>  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  > 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  > 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 
> 
> 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.
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources 

Re: [Geoserver-users] Styling of windbarbs

2021-03-11 Thread Daniele Romagnoli
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  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  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
> 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.
___
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


Re: [Geoserver-users] Styling of windbarbs

2021-03-11 Thread Ian Turton
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  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
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Ian Turton
___
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