YES!! I did it, was a little tricky with all those classes and
sub-classes but this did the trick:
RenderedOp ro = (RenderedOp) grid.getRenderedImage();
PlanarImage planarImage = ro.getCurrentRendering();
ImageReader reader = (ImageReader)
planarImage.getProperty
Hi,
in general no, because the GridCoverage2D is backed by a RenderedImage,
which in turn
could be a RenderedOp (it's a subclass) that is powered by a JAI processing
chain.
The chain could be doing anything, like generating data on the fly,
mosaicking multiple files,
or retrieving data from a remot
Hi, if i dont get wrong the GridCoverage2D doesn't load in memory all the
content of the file but use a FileInputStream in order to load the content
of the file.
So, is there a way to know the file path associated to a GridCoverage2D (if
there is of course).
Thanks
_