<div dir="ltr"><br><div class="gmail_extra"><br><div>On Mon, May 11, 2015 at 5:58 PM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I just realized how g.region zoom actually works and I am wondering if it is supposed to be obvious. I always thought it will set the region to the raster map minimum bounding box, but it takes current region and only shrinks it. The behavior is written in the manual (I eventually realized), but it doesn't strike me as particularly useful.</div></div></blockquote><br>What for example if you want to restrict calculations to the region defined by the non-null values of a particular map that has a different resolution than the maps you are using in your calculations?<br><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>At least I would suggest to change the g.region zoom behavior in the GUI -> right click on layer -> Set computational region from selected map (ignore NULLS) to:</div><div><br></div><div>g.region raster=map zoom=map</div></div></blockquote><div><br></div><div>That does indeed seems the more obvious / intuitive behaviour to me <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>instead of </div><div><br></div><div>g.region zoom=map<br></div><div><br></div><div>Any thoughts on that?</div><div><br></div><div>Thanks,</div><div><br></div><div>Anna</div><div><br></div></div>
<br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div>