You mean that in your opinion it would be better to work with
WritableRaster until the end and then create the GridCoverage?

Thanks,
Andrea


On Thu, Nov 27, 2008 at 12:36 PM, Simone Giannecchini
<[EMAIL PROTECTED]> wrote:
> Check JAI TiledImage and hsaring the backbuffer. It can be a bit risky though.
> In the long run it might be better to have a real writeablegridcoverage class.
>
> Simone.
> -------------------------------------------------------
> Eng. Simone Giannecchini
> GeoSolutions S.A.S.
> Owner - Software Engineer
> Via Carignoni 51
> 55041  Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax:      +39 0584983027
> mob:    +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> On Thu, Nov 27, 2008 at 11:35 AM, andrea antonello
> <[EMAIL PROTECTED]> wrote:
>> 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
>>
>>
>

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