Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Difficulty with raster images using World Image Files

I've been plugging along with pretty good success so far, but I have a 
problem that I'm really confused by.

I'm using the WorldImageExtension to construct jpeg layers.  Sometimes, 
the layers show up just fine.  Other times, the exact same files will 
not render.  Digging down deeper, it turns out that an 
IllegalArgumentException is thrown.  It's actually inside the geotools
WorldImageReader readSourceImage()... line 208, at:

ParameterBlockJAI readParams = new ParameterBlockJAI("ImageRead",
                "rendered");

That call actually throws the IllegalArgumentException.  Does anyone 
have any idea why this would work some times, and other times it won't?

I have JAI installed, and it does work some of the time as the images 
actually are properly rendered and no exception is thrown.

Thanks,

-cnh
-- 


Back to the top