Issue Details (XML | Word | Printable)

Key: GEOT-1487
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jody Garnett
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GeoTools

We need a Expression converter for Color

Created: 11/Sep/07 11:52 AM   Updated: 11/Sep/07 11:52 AM
Component/s: core filter
Affects Version/s: 2.5-M0
Fix Version/s: None


 Description  « Hide
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.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.