Re: [Geotools-gt2-users] masking a grid coverage

2009-01-06 Thread Michael Bedward
Hi Martin, Many thanks for your answer - I was actually hoping that you would respond ! I haven't studied ROI use in any detail yet, but at first glance it doesn't seem to be as integrated into JAI operations as I thought it would be. But I'll look into it more. I think I'll try your suggestion

Re: [Geotools-gt2-users] masking a grid coverage

2009-01-06 Thread Martin Desruisseaux
Hello Michael ROI is one aspect of JAI that I lack experience in. The approach that I'm writting below may be less efficient than ROI. I posting it just in case, but it may be worth to explore more on the ROI side. A possible approach may be to binarize the mask in order to create a new image con

Re: [Geotools-gt2-users] LinePlacement of Text does not work?

2009-01-06 Thread Julian Hagenauer
Sorry, it seems that the attachments did not work correctly. Here they go again :-) Original-Nachricht > Datum: Mon, 5 Jan 2009 08:46:12 -0800 (PST) > Von: Julian Hagenauer > An: geotools-gt2-users@lists.sourceforge.net > Betreff: Re: [Geotools-gt2-users] LinePlacement of Text d

[Geotools-gt2-users] masking a grid coverage

2009-01-06 Thread Michael Bedward
Hi all, In my app I have two single band grid coverages, one with double values and one with integer values. For each grid cell in the first coverage I want to calculate the sum of values within a given distance, using the second coverage as a mask (ignore pixels with value <= 0). Finally I want

Re: [Geotools-gt2-users] LinePlacement of Text does not work?

2009-01-06 Thread Julian Hagenauer
Hi Jody, sure. Thank your for your effort. Sincerely, Julian Am Fri, 26 Dec 2008 14:05:33 -0800 (PST) schrieb "Jody Garnett (via Nabble)" : > > > > Can you give me a test case that shows the problem and I will fix it for > you :-) > Jody > > julian.hagenauer wrote: > > Hi, > > i downloaded