[GRASS-dev] g.region zoom?

Paulo van Breugel p.vanbreugel at gmail.com
Mon May 11 14:01:22 PDT 2015


On Mon, May 11, 2015 at 5:58 PM, Anna Petrášová <kratochanna at gmail.com>
wrote:

> Hi,
>
> 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.
>

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?


> 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:
>
> g.region raster=map zoom=map
>

That does indeed seems the more obvious / intuitive behaviour to me

>
> instead of
>
> g.region zoom=map
>
> Any thoughts on that?
>
> Thanks,
>
> Anna
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150511/20172f4e/attachment.html>


More information about the grass-dev mailing list