<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div style>Hi Vishal </div><div style><br></div><div style>in grass7 you have an option in the gui, in the map display window under "different zoom options", to set computational region from current display. So, you zoom to the desired extent of your area and set the region with that option. You can then save it with g.region -s region=my_region (in the PERMANENT mapset) and you don't need to apply any mask (unless you have to mask certain values), cuz all processing  will be done in the computational region.</div>
<div style><br></div><div style>HTH :)</div><div style>Best, </div><div style><br></div><div style>Vero  </div><div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

hi all,<br>
<br>
i want to zoom into a region of interest and have that be the extent of a<br>
mask and a named region.(no single map layer quite covers the region of<br>
interest)<br>
<br>
isn't there a a command or flag with g.region or r.mask to do this? if not<br>
i'm looking at having to digitize a polygon after zooming in, or manually<br>
jotting down the corners of the display window and piping it to g.region.<br>
<br>
thanks,<br>
Vishal<br>
<br>
--<br>
Vishal K. Mehta, PhD<br>
Scientist<br>
Stockholm Environment Institute - US<br>
133 D St Suite F<br>
Davis CA 95616<br>
<a href="http://www.sei-us.org" target="_blank">www.sei-us.org</a><br></blockquote></div></div></div>