[GRASS-dev] [GRASS GIS] #3192: add a coalesce function to r.mapcalc
GRASS GIS
trac at osgeo.org
Mon Oct 24 02:55:38 PDT 2016
#3192: add a coalesce function to r.mapcalc
-------------------------+-------------------------
Reporter: aroche | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.6
Component: Default | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
A ''coalesce'' function that returns the first of its non-null arguments
would be very useful: instead of using {{{if(isnull(A), x, A))}}} we could
write {{{coalesce(A, x)}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3192>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list