On Mon, Jan 7, 2013 at 8:27 PM, Martin Davis <mda...@opengeo.org> wrote:
> Agreed. I was mostly thinking of the ability to be able to use the "env"
> function - I should have said that explicitly.
>
> It seemed like the cleanest, most general way of providing access to "env"
> was to allow CQL expressions (especially since there might well be the need
> to perform some further computation on the "env" value to adapt it to the
> quantity required for any particular band).
>
Ah, I see what you mean. Yes, it is consistent with what we already did for
"dynamic symbolizers", where
portions of CQL expressions can be included in the external graphic
location attribute:
http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/
For the raster symbolizer it could be something like:
<ColorMapEntry color="${cql expression for color}" quantity="${cql
expression for quantity}" label="label1" opacity="1"/>
and the parser could recognize that the value is starting from ${ and parse
it as a cql expression.
Or maybe not even use it ${, check if the value is the expected literal
type, if not, parse it as a CQL
expression.
That said... someone needs to write the code for this :-)
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users