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.
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
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.
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.
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.