Re: [Geoserver-users] Opacity using cql

2018-07-03 Thread Simone Giannecchini
When do you get this error, when validating and during a getmap? In the first case you can simply try to ignore the validation error and see what happens when you do a getmap. Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more

Re: [Geoserver-users] Opacity using cql

2018-07-03 Thread Ian Turton
You may need to wrap it in a formatNumber function - http://docs.geoserver.org/stable/en/user/filter/function_reference.html#parsing-and-formatting-functions Ian On Tue, 3 Jul 2018 at 10:43, Anneley McMillan < anneley.mcmil...@deimos-space.com> wrote: > Hi there, > > I'm using cql to add

[Geoserver-users] Opacity using cql

2018-07-03 Thread Anneley McMillan
Hi there, I'm using cql to add parameter values for my color map e.g. The PlantColor parameter works. However I can't get the opacity to work. The error is: line 27: cvc-datatype-valid.1.2.1: '${env('PlantOpacity', 1)}' is not a valid value for 'double'. I've tried various combinations of