If either of you can feed me a code example for the wiki that would be swell. (I am adding all such code examples to the demo/example model).
Cheers, Jody > Kevin Ward a écrit : > >> As you can see, I am taking the raster image, creating an envelope >> that defines it, creating the GridCoverage2D and then resampling it. >> It seems too straight forward to actually work :-) so if anyone could >> give me some guidance it would be much appreciated. >> > It is actually almost correct, except that: > > new Rectangle2D.Float(-180, -90, bi.getWidth(), bi.getHeight()) > > should be > > new Rectangle2D.Float(-180, -90, 360, 180) > > the first form was mixing degrees and pixel units in the same geometry, which > is > not consistent. > > Martin > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users