Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying run three filter functions(Recode,Categorize,Interpolate) described at the bottom of this page

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

share|improve this question
what does the log file say? – iant Feb 7 '13 at 8:15
@iant it says java.lang.RuntimeException: Unable to find function Categorize at org.geotools.filter.FunctionFinder.findFunction( at org.geotools.filter.FunctionFinder.findFunction( at org.geotools.filter.FilterFactoryImpl.function( at org.geotools.filter.ExpressionDOMParser.expression( at org.geotools.filter.ExpressionDOMParser.parseExpression(‌​:102) – Red John Feb 7 '13 at 12:53

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>#F08080</ogc:Literal>   <!-- I was misisng a line :) -->
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.