[GRASS-dev] [GRASS GIS] #3416: t.list: add mapset option as in g.list

#3416: t.list: add mapset option as in g.list
----------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.4.0
Component: Temporal | Version: svn-trunk
Keywords: t.list, mapset | CPU: Unspecified
Platform: Unspecified |
----------------------------+-------------------------
It would be very nice to have a "mapset" option in G7:t.list with the same
functionality as in G7:g.list. I find the use of:
{{{ g.list rast mapset=. }}} very handy, and it would be cool to have the
same for t.list just to avoid changing the search path before listing stds
in the current mapset only.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3416&gt;
GRASS GIS <https://grass.osgeo.org>

#3416: t.list: add mapset option as in g.list
--------------------------+----------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.4.0
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.list, mapset
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------

Comment (by huhabla):

There is a where option for t.rast.list. You can use it to select for
mapsets:
{{{
t.rast.list input=A where="mapset = \'PERMANENT\'"
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3416#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3416: t.list: add mapset option as in g.list
--------------------------+----------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.4.0
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.list, mapset
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------

Comment (by veroandreo):

Good! It applies to G7:t.list, as well (that was the original request :)).
I did not know I could use the where like that (will add the example to
the manual).

I did not need the "\" though. {{{t.list where="mapset = 'PERMANENT'"}}}
did it.

Shall I close this ticket as invalid since the functionality was there
already??

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3416#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3416: t.list: add mapset option as in g.list
--------------------------+----------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: enhancement | Status: closed
  Priority: normal | Milestone: 7.4.1
Component: Temporal | Version: svn-trunk
Resolution: fixed | Keywords: t.list, mapset
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------
Changes (by martinl):

* status: new => closed
* resolution: => fixed

Comment:

Feel free to reopen if desired.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3416#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>