I am reviewing a nice bit of debugging done here 
http://jira.codehaus.org/browse/UDIG-1374

Which comes down to an Filter.asInt( Expression ) failing to covert a 
Double to an Integer when requested. The SLD.width( Stroke ) method 
needs to retrieve an integer width for the provided Expression.

There are two responses to this bug:
- decide the SLD specification is too restrictive and allow Double 
values; this would actually be useful now that anti aliasing is 
available (often I wish my lines were 1.5 pixels wide)
- complete the deprecation dance and remove FIlter.asInt( Expression ) 
methods, and change the SLD utility class to call Use expr.evaulate( 
null, Integer.class )

Jody


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to