Agossa a écrit :
> What operation should I use to get two Renderedimages of same dimensions
> from two different gridcoverages cov1 and cov2 (different resolutions,
> different envelopes). That is, I wish I could combine the bands of both
> images in the same image(same dimensions from cov2 as from cov1).  Envelope1
> includes envelope2.

You need to choose a common GridGeometry. You can just invoke 
GridCoverage2D.getGridGeometry() on one of your coverages, or create your own 
instance. Then invoke Operations.resample(coverage, theGridGeometries) where 
"Operations" is a class defined in org.geotools.coverage.processing if my 
memory 
serve me right.

        Martin

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to