GridCoverageRenderer workaround for JAI exception
-------------------------------------------------

                 Key: GEOT-3413
                 URL: http://jira.codehaus.org/browse/GEOT-3413
             Project: GeoTools
          Issue Type: Improvement
          Components: core render
    Affects Versions: 2.7-RC1
            Reporter: Simone Giannecchini
            Assignee: Simone Giannecchini
            Priority: Minor
             Fix For: 2.7.0, 2.8-M1


The GridCoverageRenderer internally makes use of JAI scale and or affine 
transformations to cope with the raster pipleine of operations.
It may happen then when we are trying to subsample heavily an image we get out 
an image with 0 width and/or height, this causes a strange exception, in the 
rendering process. 

We need to try and catch this error before it it leaves the render and return a 
null image, which means, fill the request with background color ro anyway, the 
request generated a degenerate image. As an instance GeoServer will responde by 
filling the requeste area with the BKG color.

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

        

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to