[GRASS-dev] g.list in G71

Hi,

`g.list` in G71 prints unqualified map names, why?

$ g.list vect
Praha
silnice
BazinyARaseliniste
Hranice
KladyZakladnichMap

The user need to use `-m` flag to understand from which mapset the map is.

$ g.list vect -m
Praha@martin
silnice@martin
BazinyARaseliniste@PERMANENT

I would suggest to print fully-qualified names by default. Any opinion? Martin

--
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa *
http://www.gismentors.eu/mentors/landa

Hi,

2014-10-27 21:01 GMT+01:00 Martin Landa <landa.martin@gmail.com>:

I would suggest to print fully-qualified names by default. Any opinion? Martin

If you agree I would vote for reverting logic of -m flag to

Print unqualified map names (without mapsets)

?

Martin

--
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa *
http://www.gismentors.eu/mentors/landa

On 28 October 2014 10:44, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

Hi

2014-10-27 21:01 GMT+01:00 Martin Landa <landa.martin@gmail.com>:

I would suggest to print fully-qualified names by default. Any opinion? Martin

If you agree I would vote for reverting logic of -m flag to

Print unqualified map names (without mapsets)

?

+1

Martin

--
ciao
Luca

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

Hi,

IMO, printing fully-qualified names by default can be too much information in terminal and make it uncomfortable to read map names only. Currently, it prints fully-qualified names whenever maps cannot be identified by their unqualified names (e.g., two maps with the same name in multiple mapsets).

Huidae

···

On Tue, Oct 28, 2014 at 5:47 AM, Luca Delucchi <lucadeluge@gmail.com> wrote:

On 28 October 2014 10:44, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

Hi

2014-10-27 21:01 GMT+01:00 Martin Landa <landa.martin@gmail.com>:

I would suggest to print fully-qualified names by default. Any opinion? Martin

If you agree I would vote for reverting logic of -m flag to

Print unqualified map names (without mapsets)

?

+1

Martin


ciao
Luca

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


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

On Tue, Oct 28, 2014 at 1:05 PM, Huidae Cho <grass4u@gmail.com> wrote:

Hi,

IMO, printing fully-qualified names by default can be too much information
in terminal and make it uncomfortable to read map names only. Currently, it
prints fully-qualified names whenever maps cannot be identified by their
unqualified names (e.g., two maps with the same name in multiple mapsets).

Maybe there was a discussion already about this, but another option is to
use -p as default (so that we actually see the mapsets) and add new flag
-g as shell script style? So that the default would be the same as g.list
before?

If I should decide between with/without mapset (the original question), I
think by default the mapset should be printed. The mapset information is
more important for me than the clutter it causes.

Anna

Huidae

On Tue, Oct 28, 2014 at 5:47 AM, Luca Delucchi <lucadeluge@gmail.com>
wrote:

On 28 October 2014 10:44, Martin Landa <landa.martin@gmail.com> wrote:
> Hi,
>

Hi

> 2014-10-27 21:01 GMT+01:00 Martin Landa <landa.martin@gmail.com>:
>> I would suggest to print fully-qualified names by default. Any
opinion? Martin
>
> If you agree I would vote for reverting logic of -m flag to
>
> Print unqualified map names (without mapsets)
>
> ?
>

+1

> Martin
>

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

-p as default is only good for the command line because in python scripts, you need more typing. The previous discussion was about making this module as friendly as possible both in the command line and scripting environments.

Reverting -m flag is fine with me unless anyone has strong arguments against it.

···

On Tue, Oct 28, 2014 at 3:48 PM, Anna Petrášová <kratochanna@gmail.com> wrote:

On Tue, Oct 28, 2014 at 1:05 PM, Huidae Cho <grass4u@gmail.com> wrote:

Hi,

IMO, printing fully-qualified names by default can be too much information in terminal and make it uncomfortable to read map names only. Currently, it prints fully-qualified names whenever maps cannot be identified by their unqualified names (e.g., two maps with the same name in multiple mapsets).

Maybe there was a discussion already about this, but another option is to use -p as default (so that we actually see the mapsets) and add new flag -g as shell script style? So that the default would be the same as g.list before?

If I should decide between with/without mapset (the original question), I think by default the mapset should be printed. The mapset information is more important for me than the clutter it causes.

Anna

Huidae


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

On Tue, Oct 28, 2014 at 5:47 AM, Luca Delucchi <lucadeluge@gmail.com> wrote:

On 28 October 2014 10:44, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

Hi

2014-10-27 21:01 GMT+01:00 Martin Landa <landa.martin@gmail.com>:

I would suggest to print fully-qualified names by default. Any opinion? Martin

If you agree I would vote for reverting logic of -m flag to

Print unqualified map names (without mapsets)

?

+1

Martin


ciao
Luca

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


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev