Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-08 Thread Simone Giannecchini
: [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

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-05 Thread Andrea Aime
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

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-05 Thread Andrea Aime
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

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-05 Thread Simone
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

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-05 Thread Andrea Antonello
: 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

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-05 Thread Steve.Ansari
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

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-04 Thread Andrea Aime
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

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-04 Thread Steve.Ansari
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

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-04 Thread 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

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-04 Thread Dieter Mach
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