[GRASS-dev] [GRASS GIS] #2383: r.null to have "more than" and "less than" flags

#2383: r.null to have "more than" and "less than" flags
-------------------------+--------------------------------------------------
Reporter: ychemin | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
In many imagery dataset, it is common to need to slice off a large (or
small) value and any other value above (or below) into NODATA/NULL values.

r.null could be extended to perform this operation.

Flag would transform setnull option value into the lower boundary (if
"more than" flag) or upper boundary (if "less than" flag) threshold to
make null values.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2383&gt;
GRASS GIS <http://grass.osgeo.org>

#2383: r.null to have "more than" and "less than" flags
-------------------------+--------------------------------------------------
Reporter: ychemin | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by wenzeslaus):

[http://grass.osgeo.org/grass70/manuals/r.null.html r.null manual] claims
to support syntax `setnull=56-89`.

Some other modules supports `value=56-` (and `value=-56`?) which might be
the proper syntax for your request. If it is not already supported and if
there is some solution for `value=-56` in meaning "from -inf to +56"
versus "only value -56".

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2383#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>