History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GEOT-1933
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Simone Giannecchini
Reporter: Simone Giannecchini
Votes: 0
Watchers: 0
Operations

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

SelectSampleDimension fails to set destination color model is sample dimension do not have a transformation associated

Created: 23/Jul/08 06:39 PM   Updated: 22/Aug/08 12:31 PM
Component/s: core coverage
Affects Version/s: None
Fix Version/s: 2.5.0, 2.6-M0, 2.5-RC0

Issue Links:
dependent
 


 Description  « Hide
SelectSampleDimension fails to set destination color model is sample dimension do not have a transformation associated.
This leads to unexpected problems when trying to reuse the resutling coverage.

See http://jira.codehaus.org/browse/GEOS-2020



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Simone Giannecchini - 23/Jul/08 06:42 PM
A tentative for fix has been committed on trunk together with a test case.

The problem arised due to the fact that the Bandselector was trying to set a destination colormodel for the resulting coverage to the value of null. This happened because the SampleDimensions of the source coverage did not carry along a transformation but where mere placeholder for names. The fix is to avoid setting the destination color model when this is null and letting JAI pick out the best one for us.