There is an example in the geoserver code base; one that allows direct access
to a raster file so it can be exported.
As for the general answer I think that GridCoverage2D is the wrong object (it
is the answer to a question; GridCoverageReader is the thing you are asking the
question of which would know about the file).
--
Jody Garnett
On Friday, 2 September 2011 at 12:56 AM, Scott Ellis wrote:
> Hi, I am writing a WPS method which takes a GridCoverage2D object as
> input. Is there a way to get the local file for that if it is a raster
> layer registered with GeoServer?
> Thanks,
> Scott
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel