[GRASS-dev] g.mapsets syntax in G7

Hi,

`g.mapset` has currently several options to set/add/remove mapsets
from the search path

       mapset Name(s) of existing mapset(s)
     addmapset Name(s) of existing mapset(s) to add to search path
  removemapset Name(s) of existing mapset(s) to remove from search path

I would suggest to change syntax of `g.mapset` to allow only one
operation when launching module.

mapset Name(s) of existing mapset(s)
operation=add,set,remove Operation to perform

Make sense to you?

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

2012/4/12 Martin Landa <landa.martin@gmail.com>:

Hi,

`g.mapset` has currently several options to set/add/remove mapsets
from the search path

  mapset   Name\(s\) of existing mapset\(s\)
addmapset   Name\(s\) of existing mapset\(s\) to add to search path

removemapset Name(s) of existing mapset(s) to remove from search path

I would suggest to change syntax of `g.mapset` to allow only one
operation when launching module.

mapset Name(s) of existing mapset(s)
operation=add,set,remove Operation to perform

Make sense to you?

yes, maybe the default operation should be add

Martin

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org

On Thu, Apr 12, 2012 at 7:14 PM, Luca Delucchi <lucadeluge@gmail.com> wrote:

2012/4/12 Martin Landa <landa.martin@gmail.com>:

Hi,

`g.mapset` has currently several options to set/add/remove mapsets
from the search path

  mapset   Name\(s\) of existing mapset\(s\)
addmapset   Name\(s\) of existing mapset\(s\) to add to search path

removemapset Name(s) of existing mapset(s) to remove from search path

BTW, these options exist for g.mapsets, not for g.mapset.

I would suggest to change syntax of `g.mapset` to allow only one
operation when launching module.

mapset Name(s) of existing mapset(s)
operation=add,set,remove Operation to perform

Make sense to you?

yes, maybe the default operation should be add

+1

Markus M

2012/4/12 Markus Metz <markus.metz.giswork@googlemail.com>:

  mapset   Name\(s\) of existing mapset\(s\)
addmapset   Name\(s\) of existing mapset\(s\) to add to search path

removemapset Name(s) of existing mapset(s) to remove from search path

BTW, these options exist for g.mapsets, not for g.mapset.

sure, sorry for typo. Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Thu, Apr 12, 2012 at 6:02 PM, Martin Landa <landa.martin@gmail.com> wrote:

  mapset   Name\(s\) of existing mapset\(s\)
addmapset   Name\(s\) of existing mapset\(s\) to add to search path

removemapset Name(s) of existing mapset(s) to remove from search path

...

operation=add,set,remove Operation to perform

Make sense to you?

+1 to change g.mapsets

Markus

Markus

Hi,

2012/4/14 Markus Neteler <neteler@osgeo.org>:

On Thu, Apr 12, 2012 at 6:02 PM, Martin Landa <landa.martin@gmail.com> wrote:

  mapset   Name\(s\) of existing mapset\(s\)
addmapset   Name\(s\) of existing mapset\(s\) to add to search path

removemapset Name(s) of existing mapset(s) to remove from search path

...

operation=add,set,remove Operation to perform

Make sense to you?

+1 to change g.mapsets

done in r51471.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa