[GRASSLIST:2325] Re: Removing a section of a raster map
Rich Shepard
rshepard at appl-ecosys.com
Wed Aug 8 18:02:04 EDT 2001
On Wed, 8 Aug 2001, Hal Mueller wrote:
> I think the key is r.mask. You can derive the mask by comparing
> layer with protrusion to layer without protrusion. Or maybe just by
> looking at layer without protrusion.
I don't have a copy of the whole map without the protrusion. It might be
quicker for me to regenerate one.
> I would try
>
> r.mapcalc to make a binary raster, 1 where I want data and 0 where I don't
>
> r.mask set the mask to be that binary I just made
>
> r.mapcalc newrast=rastwithprotrusion
Thanks, Hal. I was thinking along these lines, but with only the one map
now in existence, I was hoping there'd be a way to manipulate that.
Rich
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
+ 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard at appl-ecosys.com
Making environmentally-responsible mining happen.
More information about the grass-user
mailing list