[was: Adding an expert mode to the parser] On Sun, Sep 25, 2016 at 10:16 PM, Vaclav Petras <[email protected]> wrote:
> On Sun, Sep 25, 2016 at 5:40 PM, Sören Gebbert < > [email protected]> wrote: > >> >r.mapclac --raster-region= --north= --south= --west= --east= --res= >>> >--ewres= --nsres= --vect-region --raster-align= ... >>> >> > I like this in the sense that if the region setting for the module is > something which should be managed by these extra options, then they should > be managed in parser, rather than introduced one by one for individual > modules. > > But how is this different from using GRASS_REGION? Convenience of > --raster-region=? > Better syntax than environmental variable? > It would work better when using GRASS GIS by grass command with --exec: grass72 /path/to/grassdata/test1/PERMANENT/ --exec r.univar map=elevation --region-raster=elevation which needs to be now done using two commands: grass72 /path/to/grassdata/test1/PERMANENT/ --exec g.region raster=elevation grass72 /path/to/grassdata/test1/PERMANENT/ --exec r.univar map=elevation
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
