Geotools Operations do not support optional grids
-------------------------------------------------

                 Key: GEOT-2908
                 URL: http://jira.codehaus.org/browse/GEOT-2908
             Project: GeoTools
          Issue Type: Bug
          Components: core coverage
    Affects Versions: 2.7-M0
         Environment: all
            Reporter: Andrea Antonello
             Fix For: 2.7-M0, 2.6.0, 2.5.5
         Attachments: Operation2D_trunk.patch, OperationJai_trunk.patch, 
ViewsManager_trunk.patch

Currently geotools Operations require the source grids to be non null. 
Given that the primary source has to be !=  from null, other sources should be 
allowed to be optional.

The attached patches just insert null-checks to avoid exceptions. The check is 
left to be done in the Jai operation itself.
The patches do not modify the usual behaviour, they only save the situation in 
the case a source gridcoverage is == null.

The patch has been tested on trunk and also on 2.5.5.

-- 
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 the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to