Skip to main content

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

I'm going to forward this to the geotools users list I think the geotools guys know more about this code than we do.

Jesse

-------- Original Message --------
Subject: [udig-devel] Difficulty with raster images using World Image Files
Date: Wed, 01 Feb 2006 18:49:13 -0500
From: Christopher Hammack <chammack@xxxxxxxxxxxx>
Reply-To: User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
To: udig-devel@xxxxxxxxxxxxxxxxxxxxx


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
-- 
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Back to the top