Jay Parsons a écrit :
> I am looking for a few examples of reprojecting images using Geotools 2.4.4.  
> I have tried modifying a few examples but with no success.  I think I am 
> doing something basic wrong so I would like to look at a few functioning 
> examples.

GridCoverage2D coverage = ...

Assuming your coverage has a CRS and Envelope correctly setup,

GridCoverage2D reprojected = (GridCoverage2D) 
Operations.DEFAULT.reproject(targetCRS);

        Martin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to