Hi, I need to create a gridcoverage, on which I am going to then write.

I am tempted to use:

GridCoverage2D coverage2D = factory.create(name, writableRaster,
writeEnvelope, new GridSampleDimension[]{band});

At some point then I need to extract my writable raster.

Is that the way to do it through a cast?

coverage2D.getRenderedImage().getData();

I can't test it right now, so any help is very appreciated.

Andrea

-------------------------------------------------------------------------
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