[GIS] GeoServer Transformation Function (Categorize) Problem

geoserverogcsld

I'm trying run three filter functions(Recode,Categorize,Interpolate) described at the bottom of this page
http://docs.geoserver.org/stable/en/user/filter/function_reference.html

Recode and Interpolate works fine but Categorize throws me the following exception message. 'java.lang.RuntimeException: Unable to find function Categorize'

What could cause this problem ? Am I supposed to install a plugin on geoserver or what?

The official examples are on
http://docs.geoserver.org/stable/en/user/styling/sld-tipstricks/transformation-func.html

Best Answer

The question is old, but I had the same issue. For me the problem was the style definition, I was missing the last value for the ranges; with respect to the example in the Geoserver documentation,

     <ogc:Literal>#87CEEB</ogc:Literal>
     <ogc:Literal>20</ogc:Literal>
     <ogc:Literal>#FFFACD</ogc:Literal>
     <ogc:Literal>100</ogc:Literal>
     <ogc:Literal>#F08080</ogc:Literal>   <!-- I was misisng a line :) -->