try this...
RenderedImage rImg = cov.getRenderedImage();
TiledImage tImg = new TiledImage(rImg, true);
then work with the TiledImage which, in effect, is a writable view of
your coverage's raster
Caveat: I haven't done this with really large coverages.
Let us know how you go.
Michael
2008/9/2
Is that code the same in trunk ? I haven't had any problems building
the geotools snapshot daily on my mac.
Michael
2008/9/27 Andrea Aime <[EMAIL PROTECTED]>:
>
> Well, this failure happens becaue ImagePyramidFormat.accepts(...)
> returns false whilst it should return true. But there are
> a num
Greg Ederer ha scritto:
> Hi,
>
> I found the surefire test results:
>
> Macintosh-4:2.5.x gregederer$ more
> modules/plugin/imagepyramid/target/surefire-reports/org.geotools.gce.imagepyramid.ImagePyramidReaderTest.txt
>
>
>
>
> This stack trace only informs you that you don't have the native
> JAI installed and thus you'll get lousy raster performance, but things
> should keep on working nevertheless.
> I know that Justin built 2.5.x just a few days ago on a Mac, so there
> should be something specific to your machi
Hi,
I found the surefire test results:
Macintosh-4:2.5.x gregederer$ more
modules/plugin/imagepyramid/target/surefire-reports/org.geotools.gce.imagepyramid.ImagePyramidReaderTest.txt
---
Test set: org.geotools.gce.imagep
I looked in '2.5.x/target', but do not see a surefire directory in there.
Thanks!
Greg
Andrea Aime wrote:
> Greg Ederer ha scritto:
>> Hi,
>>
>> My development machine is a Mac OS X box. I was told that I need
>> 2.5.x in order to build GeoServer 1.7.x. So, I grabbed 2.5.x like so:
>>
>> sv
Greg Ederer ha scritto:
> Hi,
>
> My development machine is a Mac OS X box. I was told that I need 2.5.x
> in order to build GeoServer 1.7.x. So, I grabbed 2.5.x like so:
>
> svn checkout http://svn.geotools.org/branches/2.5.x
>
> I then did a:
>
> mvn install
>
> And got:
>
> Running
Hi,
My development machine is a Mac OS X box. I was told that I need 2.5.x
in order to build GeoServer 1.7.x. So, I grabbed 2.5.x like so:
svn checkout http://svn.geotools.org/branches/2.5.x
I then did a:
mvn install
And got:
Running org.geotools.gce.imagepyramid.ImagePyramidReaderTest
Dear All,
I am trying to read and edit large ESRI Ascii Grid.
To edit small grids the following works fine:
(WritableRaster)RenderedImage().getData();
Unfortunately this approach does not work with large Grids.
* Is there a way to make GridCoverage2D created from large ascii Grid
editable?
At th