Re: [GRASS-dev] dealing with null values in rasters only within mask

2019-07-01 Thread Moritz Lennert
Hi Markus, On 28/06/19 22:08, Markus Metz wrote: Hi Moritz, On Fri, Jun 28, 2019 at 11:56 AM Moritz Lennert mailto: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

Re: [GRASS-dev] dealing with null values in rasters only within mask

2019-06-28 Thread Markus Metz
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

Re: [GRASS-dev] dealing with null values in rasters only within mask

2019-06-28 Thread Moritz Lennert
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...

Re: [GRASS-dev] dealing with null values in rasters only within mask

2019-06-28 Thread Ken Mankoff
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

Re: [GRASS-dev] dealing with null values in rasters only within mask

2019-06-28 Thread Stefan Blumentrath
(tile),1,tile),null()) Just an idea... Cheers Stefan -Original Message- From: grass-dev On Behalf Of Moritz Lennert Sent: fredag 28. juni 2019 10:57 To: grass-dev@lists.osgeo.org Subject: [GRASS-dev] dealing with null values in rasters only within mask Hi to all, As a followup of some

[GRASS-dev] dealing with null values in rasters only within mask

2019-06-28 Thread Moritz Lennert
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.