[GRASS-user] filtering raster outliers
Ken Mankoff
mankoff at gmail.com
Tue Feb 16 08:15:10 PST 2016
On 2016-02-16 at 10:50, Ken Mankoff <mankoff at 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.
More information about the grass-user
mailing list