On Tue, Feb 9, 2021 at 4:41 PM Chris Bartolomei wrote:
> Hi Anna - thank you for the suggestion - I tried it but alas, still it
> only outputs a single vector map (layer). I can get either the Country
> vector or the admin_areas vector, but not both overlaid.
> :(
> Chris
>
I realized you are
now testing here with the standalone winGRASS installer 7.8.5
C:\Users\myuser>echo %PATH%
C:\Program Files\GRASS GIS 7.8\lib;C:\Program Files\GRASS GIS
7.8\bin;C:\Users\myuser\AppData\Roaming\GRASS7\addons\bin;{app};C:\Program
Files\GRASS GIS 7.8\extrabin;C:\Program Files\GRASS GIS
Hello Erik,
try this in r.mapcalc:
new_dem = if(old_dem < 25, null(), old_dem)
old_dem – name of map with input DEM;
null() – value to assign to cells below 25 (could be 0 too).
Keep in mind – your approach will put under water everything below a
specified level even if there is a natural or
Hi Erik,
IIUC, you would need something like the following:
r.mapcalc expression="bla = if(elev <= 25, 0.0, elev)"
or
r.mapcalc expression="bla = if(elev <= 25, null(), elev)"
HTH,
Vero
El mié, 10 feb 2021 a las 8:47, Erik Victor Lundstrøm (<
victor.lundst...@uib.no>) escribió:
> Hi
Dear Helmut,
thanks for jumping in again!
*- C:\>ECHO %PATH% gives similar results:*
D:\Programme\apps\grass\grass78\lib;D:\Programme\apps\grass\grass78\bin
;C:\Users\txhac\AppData\Roaming\GRASS7\addons\bin;D:\Programme\apps\Python37;
D:\Programme\apps\Python37\Scripts