Re: [Geotools-gt2-users] DisplayJAI vs Rendering to BufferedImage JPanel

2007-12-12 Thread Diego Fdez.
I've been reading the StreamingRenderer trying to understand how the layer's drawing process works. When the StreamingRenderer draws the layer[1] it uses the Graphics2D.drawImage method. Wouldn't be better to use the Graphics2D.drawRenderedImage to apply the transformation (and get better

Re: [Geotools-gt2-users] DisplayJAI vs Rendering to BufferedImage JPanel

2007-12-12 Thread Andrea Aime
Simone Giannecchini ha scritto: Ciao Diego (again :-) ), please, read below On Dec 12, 2007 1:05 PM, Diego Fdez. DurĂ¡n [EMAIL PROTECTED] wrote: I've been reading the StreamingRenderer trying to understand how the layer's drawing process works. When the StreamingRenderer draws the

Re: [Geotools-gt2-users] DisplayJAI vs Rendering to BufferedImage JPanel

2007-12-12 Thread Simone Giannecchini
Exaclty, that's the point. I think what diego needs is something different from what the StreamingRenderer is supposed to do. This is why I am asking details about what he needs to do. If he has some specific needs I can drop some ideas that would help him to get very high perfomances even with

Re: [Geotools-gt2-users] DisplayJAI vs Rendering to BufferedImage JPanel

2007-12-12 Thread Simone Giannecchini
Ciao Diego, yeah, it's me again :-). I am wondering about your goals Could you describe exaclty what you are trying to do in terms of sources of data and suported features? I could try and give some directions as well as sharing some code that I have that would be really handy for you. It

Re: [Geotools-gt2-users] DisplayJAI vs Rendering to BufferedImage JPanel

2007-12-12 Thread Diego Fdez.
Hi all: I'll try to describe my project: - I'm developing a Swing application that will show a really BIG map (150k x 100k px). - I need to navigate through the image and the navigation speed is critical. - Even though the user must be allowed to zoom in an out

Re: [Geotools-gt2-users] DisplayJAI vs Rendering to BufferedImage JPanel

2007-12-12 Thread Simone Giannecchini
Well, If I get things right, you have a raster background, which you want to visit at fixedresolutionlevels. You also want to overlay features on top of this. Well, I would suggest a simple thing. Use the streaming renderer to render the features and then overlay this on top of the background

Re: [Geotools-gt2-users] DisplayJAI vs Rendering to BufferedImage JPanel

2007-12-11 Thread Diego Fdez.
I've followed you all down the garden path :) and it appears to be the right path. I've rewritten the PanelMap code using VolatileImage[1] but I can't test it with the big map until tomorrow morning, then I'll send a report :) P.S.- When I was doing a test with the big map in a single GeoTiff