Hi Thomas, Thanks for that !
For the second case (working with pixel coords) what do you about tiled images ? I remember a message a while ago where Martin (I think) was talking about using the JAI iterator classes. I see in the JAI docs that there is a RectIter class and a RectIterFactory.create method that takes a Rectangle for bounds. This sounds good but does it somehow take care of tiling for you or do you do this explicitly ? (prob a silly question but I don't have any experience with tiling). Michael On Fri, May 30, 2008 at 7:54 PM, Anaxa Gore <[EMAIL PROTECTED]> wrote: > Hi Michael, > > I extract myself some sub-areas from GridCoverage2Ds. I think there is two > possibilities : > first, you want to extract a "géoréférenced area", and the best way seems to > be the "crop operation" (for me), > second, you want to extract an area and you know only its pixels coordinates > in the grid, and then, I think you should extract the image from the > GirdCoverage, and then get the sub-matrixes from this image. > These are just some ideas from my (little) experience... > > Cheers, > Thomas > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
