forked from geotools/geotools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GEOT-7607] Error using function Interpolate in COLOR mode from SLD (g…
…eotools#4823) * [GEOT-7607] Error using function Interpolate in COLOR mode from SLD Make `InterpolateFunction.evaluate(Object, Class)` adhere to the interface contract by returning a value converted to the requested "context" type. This was not true for the case when the `method` parameter is `COLOR`, and hence the function would have failed instead of returning a converted value or `null`, according to `Converters.covert()`. * revise based on feedback --------- Co-authored-by: Jody Garnett <[email protected]>
- Loading branch information
1 parent
2534428
commit b072b03
Showing
2 changed files
with
112 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters