Covered in the users guide here:
*
http://docs.geotools.org/latest/userguide/library/main/collection.html#aggregate-functions
--
Jody Garnett
On 29 January 2015 at 04:47, Bonventi Matthieu <matthieu.bonve...@gmail.com>
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/
> _______________________________________________
> GeoTools-Devel mailing list
> geotools-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-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/
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users