Hi to all,
As a followup of some recent discussions concerning the handling of null
values, I have a fundamental issue, and would like some feedback:
I am working with irregular tiles of orthoimages. Each tile corresponds
to the part of a large image mosaic that comes from a particular take.
Hi Moritz,
Did you consider r.stats -N for checking for NULL values within the masked
area, like:
r.stats -N input=tile,MASK
if there is *|1 in the output you have NULL cells in the tile...
For filling NULLs with a given value you could do:
r.mapcalc expression=tile_filled=if(MASK,if(isnull(tile
Hi Moritz,
More generally from Stefan's answer:
1) MASK is a raster that you can use is your r.mapcalc expressions
2) A two-step process where everything is filled, and then the parts outside
the mask are re-nulled?
-k.
___
grass-dev mailing list
On 28/06/19 11:10, Stefan Blumentrath wrote:
Hi Moritz,
Did you consider r.stats -N for checking for NULL values within the masked
area, like:
r.stats -N input=tile,MASK
if there is *|1 in the output you have NULL cells in the tile...
Nice trick, didn't actually know about the -N flag...
F
Hi Moritz,
On Fri, Jun 28, 2019 at 11:56 AM Moritz Lennert <
mlenn...@club.worldonline.be> wrote:
>
> On 28/06/19 11:10, Stefan Blumentrath wrote:
> > Hi Moritz,
> >
> > Did you consider r.stats -N for checking for NULL values within the
masked area, like:
> > r.stats -N input=tile,MASK
> > if the