[GRASSLIST:2328] Re: "Clipping" off unwanted cells

Eric G. Miller egm2 at jps.net
Wed Aug 8 22:30:49 EDT 2001


On Wed, Aug 08, 2001 at 09:40:04AM -0700, Rich Shepard wrote:
>   When I zoomed in on an area of a DEM map to isolate some empty cells, I
> included a region exterior of the DEM map boundary, just to be sure that I
> had all empty cells included. Now I've re-interpolated that small area and
> patched it back into the main map.
> 
>   I don't see a module that will allow me to select these overhanging cells
> and trim them off. Will someone please point out the module and/or procedure
> for me?

d.rast.edit? ... r.mask?  Something along those lines?  If you create a
mask from the preedited clipped section, you can invert it and use it as
a mask (or you could just use it directly in an r.mapcalc command --
presuming you have NULL data cells).

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-user mailing list