[GRASS-user] using g.mlist to set g.region

Markus Neteler neteler at osgeo.org
Sun Mar 17 10:15:15 PDT 2013


On Sun, Mar 17, 2013 at 4:36 PM, Milton Cezar Ribeiro
<miltinho.astronauta at gmail.com> wrote:
> Dear all,
>
> I have a set of raster maps and I need to run a r.series with them.
> But each raster have different extent.
>
> How can I use g.mlist to get the extent that include all rasters to
> redefine my working regions?

Similar to the example in the r.series manual page:

g.region rast=`g.mlist rast pat="some_patters_*" sep=,` -p

> I am running grass under MSYS/Win7

>From a course I remember that even the backticks `...` work on
Windows.

Hope this helps,
Markus


More information about the grass-user mailing list