[GRASS-dev] [GRASS GIS] #2368: Python version of r.grow does not support shrinking

#2368: Python version of r.grow does not support shrinking
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: minor | Milestone: 7.2.0
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.grow, r.grow.distance, r.buffer,
       CPU: | r.buffer.lowmem
  Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------

Comment (by neteler):

Just tested r.grow with a negative radius and the following error occurs:
{{{
# NC sample dataset
v.in.region box
v.to.rast input=box output=box use=val val=1

r.grow input=box output=box_shrink radius=-20.01
Reading raster map <box>...
  100%
Writing output raster maps...
  100%
ERROR 1: PredictorSetup:Horizontal differencing "Predictor" not supported
with 64-bit samples
ERROR 1: PredictorSetup:Horizontal differencing "Predictor" not supported
with 64-bit samples
ERROR 1: PredictorSetup:Horizontal differencing "Predictor" not supported
with 64-bit samples
ERROR 1: PredictorSetup:Horizontal differencing "Predictor" not supported
with 64-bit samples
  100%
ERROR 1: PredictorSetup:Horizontal differencing "Predictor" not supported
with 64-bit samples
ERROR 1: PredictorSetup:Horizontal differencing "Predictor" not supported
with 64-bit samples
Color table for raster map <box_shrink> set to 'box'
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2368#comment:10&gt;
GRASS GIS <https://grass.osgeo.org>