Simone Giannecchini wrote:

> So, you are telling me that you get that error right away during a
> simple read on the reader without params?
> This is rather strange, we might probably want to chat a bit on IRC
> tomorrow to spot the cause. K?

Ok, the solution was not to use an InputStream as source Object for the 
GeoTiffReader. An Url or a File works fine.

I suggest to put that at least into the javadoc. Looking at the source code 
of GeoTiffReader, there is code that handles explicitly InputStream so I 
thought it is supported. Another solution is to directly throw an 
IllegalArgumentException with an explanation.

Cheers,

Jan
-- 
>From address is valid until 01.06.2010


------------------------------------------------------------------------------

_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to