Improve mosaic management when requesting very small area where no granule data 
is available
--------------------------------------------------------------------------------------------

                 Key: GEOT-2983
                 URL: http://jira.codehaus.org/browse/GEOT-2983
             Project: GeoTools
          Issue Type: Bug
          Components: gc imagemosaic
    Affects Versions: 2.6.2
            Reporter: Daniele Romagnoli
            Assignee: Daniele Romagnoli


When requesting a very small area (as an instance a tiny vertical stripe having 
width = 1) on the edge of a mosaic, in case there isn't any granule data to be 
loaded in that area, the underlying computations may result in defining a 
raster bound having width (for that example) = 0. Therefore, the JAI "Constant" 
operation involved in producing the background to fill the requested area may 
throw an IllegalArgumentException (being the width = 0). In that case, forcing 
the width of the background stripe to be at least 1 pixel wide, will fix that 
behaviour.



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

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to