[GRASSLIST:4881] r.mask in grass57

Hi.

I found several other people with the same question and no answer...
Has r.mask been removed from grass57?
If so, is there a workaround?

Thanks,
Ann Marie
amg24@case.edu

g.copy rast=rastermask,MASK

or

r.reclass input=rastermask output=MASK
catx = 1
* = 0
end

Em Sex 19 Nov 2004 18:33, você escreveu:

Hi.

I found several other people with the same question and no answer...
Has r.mask been removed from grass57?
If so, is there a workaround?

Thanks,
Ann Marie
amg24@case.edu

--
Instituto IGARÉ
http://geocities.yahoo.com.br/institutoigare
e-mail: institutoigare@yahoo.com.br

Any raster map can be used as a MASK. Just copy it to a raster named MASK. 0 and null cells are masked; all others are visible. This way is much easier IMHO than using r.mask.

On Fri, 19 Nov 2004, Ann Marie Gorman wrote:

Hi.

I found several other people with the same question and no answer...
Has r.mask been removed from grass57?
If so, is there a workaround?

Thanks,
Ann Marie
amg24@case.edu

On Fri, Nov 19, 2004 at 03:33:24PM -0500, Ann Marie Gorman wrote:

Hi.

I found several other people with the same question and no answer...
Has r.mask been removed from grass57?

yes, it was

If so, is there a workaround?

http://grass.gdf-hannover.de/twiki/bin/view/GRASS/ModulePortingList?rev=1.2
r.mask - just rename any raster to MASK (use g.rename, g.copy, r.mapcalc)

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://www.fle.czu.cz/~jachym/gnupg_public_key/