[GRASS-user] quick way to create a mask and region after zooming in?
Moritz Lennert
mlennert at club.worldonline.be
Tue Jul 8 01:25:39 PDT 2014
On 03/07/14 01:11, Vishal Mehta wrote:
> hi all,
>
> i want to zoom into a region of interest and have that be the extent of
> a mask and a named region.(no single map layer quite covers the region
> of interest)
>
> isn't there a a command or flag with g.region or r.mask to do this? if
> not i'm looking at having to digitize a polygon after zooming in, or
> manually jotting down the corners of the display window and piping it to
> g.region.
In addition to all the other responses: if you really _do_ want to
create a mask, you can use v.in.region to create a polygon of the region
and then feed that directly into r.mask (grass7) or transform it to
raster and then feed that to r.mask (grass6).
Moritz
More information about the grass-user
mailing list