We need a Expression converter for Color
----------------------------------------

                 Key: GEOT-1487
                 URL: http://jira.codehaus.org/browse/GEOT-1487
             Project: GeoTools
          Issue Type: Bug
          Components: core filter
    Affects Versions: 2.5-M0
            Reporter: Jody Garnett
            Priority: Minor


We should be able to have the following code work:

Literal literal = ff.literal( "#0000FF" );
Color color = literal.expression( null, Color.class );

But it returns "null".

The work around it to use the utility method:

Color color = SLD.color( literal );

Consider this a feature request; part of the magic of having converters is our 
expressions working out of the box.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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