On 2016-02-16 at 10:50, Ken Mankoff <mank...@gmail.com> wrote:
> I'm also having trouble figuring out the exact syntax for the
> r.mapcalc approach.
>
> r.mapcalc "map_out = if(map_in * (map_in > ${p}), map_in, 0, 0)"

I figured out my mapcalc issue. Should be "map_in < ${p}".

It also seems that mapcalc is several times faster than the export/import 
method. I assume that means it is the correct approach for filtering like this.

  -k.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to