<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 3, 2014 at 8:01 AM, Veronica Andreo <span dir="ltr"><<a href="mailto:veroandreo@gmail.com" target="_blank">veroandreo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Hi Vishal </div><div><br></div>
<div>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.</div>
</div></div></div></blockquote><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div>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><br></div></div></div></div></blockquote><div><br></div><div>Note that you "can save it", you don't have to. "Setting" the region is enough.<br><br></div><div>Note also that<br><br>-d Set from default region<br>
-s Save as default region<br><br></div><div>while<br></div><div><br>save Save current region settings in named region file<br>region Set current region from named region<br></div><div><br></div><div>See g.region --help for details.<br>
<br>The Map Display in GUI (the various zoom options button) lets you to save named region and set named region. It also allows you to zoom to these regions (without setting the region).</div><div><br></div><div>There is a lot of options but at the begging it is enough to know "set computational region interactively", "set computation region extent from display extent" (button in Map Display) and "set region from raster map" (right click in Layer Manager).<br>
</div><div><br></div><div>Vaclav<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div></div><div>HTH :)</div><div>Best, </div><div><br></div><div>Vero </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">
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></div><div class="">
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></div></blockquote></div></div></div>
<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br></div></div>