: [Geotools-gt2-users] Slow rendering of GridCoverage objects
Hi Andrea/Simone/Martin,
I threw together a quick example that reproduces the problem. It took 159
seconds to produce the image.
Thanks again for the help.
Steve
import java.awt.Color;
import java.awt.Graphics2D;
import
Simone Giannecchini ha scritto:
Ciao Steve,
I need a couple more info about your platform:
java version
os
JAI and ImageIO version
I ran your example as it was (well, to be honest I removed the line
where you were showing the created coverage) and I got the following
execution
Steve.Ansari ha scritto:
Hi Andrea/Simone/Martin,
I threw together a quick example that reproduces the problem. It took
159 seconds to produce the image.
Steve, can you try again using the 2.3.x nightly builds at:
http://www.geo-solutions.it/gt2_nightly/
Cheers
Andrea
more problems.
Regards,
Simone.
- Original Message -
From: Steve.Ansari [EMAIL PROTECTED]
To: Simone Giannecchini [EMAIL PROTECTED]
Cc: geotools-gt2-users@lists.sourceforge.net
Sent: Monday, February 05, 2007 2:59 PM
Subject: Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects
: Steve.Ansari [EMAIL PROTECTED]
To: Simone Giannecchini [EMAIL PROTECTED]
Cc: geotools-gt2-users@lists.sourceforge.net
Sent: Monday, February 05, 2007 2:59 PM
Subject: Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects
Hi Simone/Andrea,
I'm using:
Java jre1.5.0_04
JAI installed from
anyway.
Let us know if you have more problems.
Regards,
Simone.
- Original Message -
From: Steve.Ansari [EMAIL PROTECTED]
To: Simone Giannecchini [EMAIL PROTECTED]
Cc: geotools-gt2-users@lists.sourceforge.net
Sent: Monday, February 05, 2007 2:59 PM
Subject: Re: [Geotools-gt2-users] Slow
Steve.Ansari ha scritto:
Hello all,
I'm using StreamingRenderer to draw a MapContext with the 2.3.0 release,
however it is VERY slow when drawing a GridCoverage layer. I've
isolated the problem to:
graphics.drawRenderedImage(finalImage, cloneFinalWorldToGrid);
in
Hi Andrea,
I'm manually creating the GridCoverage from a WritableRaster using:
GridCoverage2D gc = gcFactory.create(My colored coverage, raster,
envelope, minValues, maxValues, null, new Color[][]{colors},
null);
Thanks for the help!
Steve
Andrea Aime wrote:
Steve.Ansari
Hi Andrea/Simone/Martin,
I threw together a quick example that reproduces the problem. It took
159 seconds to produce the image.
Thanks again for the help.
Steve
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import
Hello,
I had the same problem some month ago (see my posting from Dec 16, 2006)
and still didn't find a solution. While rendering, the memory usage
increases continuously. If it would be helpful, I could send a detailed
stack trace showing where the renderer spends that much time.
A
10 matches
Mail list logo