Those are "aggregate" functions .. used by clients to process a feature
collection. You are correct that they are often used to generate metrics
about a dataset, which are then used to construct an appropriate style.
There is actually a while color brewer workflow that involves generating
styles for a dataset:
http://docs.geotools.org/stable/userguide/extension/brewer/colorbrewer.html
--
Jody Garnett
On 29 January 2015 at 05:59, Bonventi Matthieu <[email protected]>
wrote:
> Hi everyone,
>
> I m working on a function that I will use in Geoserver which get a feature
> as input and return a color code to fill a polygon.
>
> I have 4 others paramters : min,max,saturation and brightness.
> Concerning the min and the max I'd like not to hardcode them but get it
> directly from the attribute.
>
> I found theses 2 functions :
>
>
> https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/filter/function/Collection_MaxFunction.java
>
>
> https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/filter/function/Collection_MinFunction.java
>
>
> Any idea about how I can use them ? I mean it would be cool if I could get
> a max value and a min value from these function and use them as parameter
> for the function which calculate and return the color.
>
> Thank you All.
>
> --
> Matthieu BONVENTI
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel