[GRASS-user] Slope categories from DEM ?
Rich Shepard
rshepard at appl-ecosys.com
Sat Nov 6 14:06:29 EDT 2010
On Sat, 6 Nov 2010, Martin Landa wrote:
> r.mapcalc 'slope_30 = if(slope_map > 30, 1, 0)'
>
> r.mapcalc generates raster map with two values - 1 for areas where slope
> is greater then 30% and 0 for areas where slope is lower or equal then
> 30%.
Martin,
Is the reverse 'slope_30 = if(slope_map < 30, 1, 0)' mean that areas = 1
are < than 30% and areas with 0 are >= 30%?
My question is the value of areas where slope = 30% are placed with the
different mapcalc expressions.
Thanks,
Rich
More information about the grass-user
mailing list