Opened 4 years ago

Closed 3 years ago

#3416 closed enhancement (fixed)

t.list: add mapset option as in g.list

Reported by: veroandreo Owned by: grass-dev@…
Priority: normal Milestone: 7.4.1
Component: Temporal Version: svn-trunk
Keywords: t.list, mapset Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Change History (4)

comment:1 Changed 4 years ago 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\'"

comment:2 Changed 4 years ago 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??

comment:3 Changed 3 years ago by neteler

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:4 Changed 3 years ago by martinl

Resolution: fixed
Status: newclosed

Feel free to reopen if desired.

Note: See TracTickets for help on using tickets.