[udig-devel] How to pick up Coverage from Layer
Jan Jezek
h.jezek at centrum.cz
Fri Aug 3 07:25:30 PDT 2007
Hi all,
I'm working on GSoC project (The 'transofrmations' one) and I'm having following problem:
I would like to pick up the GridCoverage2D from layer containing image file (.tif). My
approach is simmilar as with Feature layer. Code looks like this:
GridCoverage2D coverage = (GridCoverage2D)sourceLayer.getResource(Coverage.class, null);
It works, but it looks that the coverage is resized by the transformation included in .wld file.
Please does anybody know if there is a way how to get GridCoverage2D in original?
Sorry if this has been already discussed.
I' working against uDig trunk (btw. - the raster rendering performance rise pretty nice there and
also old Ubuntu/SWT bugs are gone. Cool :-) ).
Thanks for your help,
Bests,
Jan.
More information about the udig-devel
mailing list