Thanks Jody!

Your guess is almost right, except for the part "day". I'm sure it  
will take longer ;-)...

Well, if I get you right, you suggest something like this:

URL tiffURL = new URL("http://localhost:1979/geoserver/wcs? 
service=WCS&...&format=GEOTIFF");
GeoTiffFormat gtf = new GeoTiffFormat();
GeoTiffReader gtr = (GeoTiffReader) gtf.getReader( tiffURL );
GridCoverage2D gc = null;

I already tried this out, but the reader (line 3) failed (without any  
console output).

Christian


Am 23.04.2008 um 20:50 schrieb Jody Garnett:

> We don't have a client api for WCS yet; I imagine you can use a GET
> request as you otutline below but it has been sometime since I have
> personally tried them out using URLs rather than files as the object.
>
> Oh I think you can pass the URL into the reader that than the raw  
> input
> stream...
> My guess is you are in for a fun day of debugging.
>
> Jody

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to