[GRASS-dev] g.mapsets, print only accessible mapsets

Glynn Clements glynn at gclements.plus.com
Tue Mar 25 02:02:26 EDT 2008

Martin Landa wrote:

> 2008/3/24, Glynn Clements <glynn at gclements.plus.com>:
> > I've committed the patch, but changed mapset_opt->required to NO.
> thanks, small issue here -- the '-l' flag ignores gisdbase= and
> location= parameters, it always prints list of mapsets for the
> *current* location. The attached patch should fix it. If you have no
> objections I will applied in trunk.

I'm not sure that a separate function with gisdbase/location arguments
is necessary. It is sufficient for g.mapset to just change those
settings with G__setenv().

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list