Hi Thomas; did you ever make a bug report for this one? I have been working on it (I traced the problem into SLDStyleFactory .. which seems to be the class that evulates the Symbolizer and makes a little object that holds the information Java wants to see .. like Color and Font and so on)
I have added a couple test cases based on your email; and yes the problem shows up here :-) For points it comes down to this line: > fillPaint = Color.decode((String) fill.getColor().evaluate(feature)); I am going to replace it with: fillPaint = fill.getColor().evaluate(feature, Color.class); And see how we do... Jody ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel