On Mon, Jan 7, 2013 at 6:57 PM, Martin Davis <mda...@opengeo.org> wrote:

> I don't think this is possible at the moment.  The problem is that the
> quantity value is supplied by an attribute, rather than a sub-element
> (where it would be possible to allow a filter expression instead of a fixed
> value.
>
> The ColorMapEntry element is actually a bit of an anomaly in SLD - most
> parameters in other styling elements are supplied as element content,
> rather than attributes.  A nice extension for GeoServer would be to allow
> CQL expressions in attribute values in SLD.
>

Hmm.. let's say the reason for the usage of the attribute is not so
difficult to imagine, rasters have
no "attributes", so theoretically there would be nothing to write an
expression against, standard wise.

GeoServer has the env function though, that one would indeed be usable as a
source of values for
the color map

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 Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 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_122412
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to