Hi Richard,
>
> BufferedImage image =
> ImageIO.read(wms.issueRequest(request).getInputStream());
>
> GridCoverageFactory factory = new GridCoverageFactory();
> GridCoverage2D gc = (GridCoverage2D) factory.create("GridCoverage",
> image, gtEnv);
Ok. That was the way I got the GridCoverage from the wms before I tried
WMSGridCoverageExchange. :-)
My Problem is, that there is only the image in the gc2d and no other
information like the
sample dimensions. I am not close enough to geotools and wms, to express the
right request.
That was the reason why I tried WMSGridCoverageExchange. I hoped
WMSGridCoverageExchange
creates the GridCoverage with all these information.
My current request looks like the one in the WMSBasicRenderer2 from udig. I
know that this
request can't fit my requirements because the sample dimension are not
necessary for rendering.
Can anyone help me getting these information from the wms?
Greetings
Benedikt
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users