[GRASS-dev] [GRASS GIS] #2752: t.remove: add dual-step removal as in g.remove
GRASS GIS
trac at osgeo.org
Sun Jan 28 09:01:23 PST 2018
#2752: t.remove: add dual-step removal as in g.remove
--------------------------+-------------------------
Reporter: neteler | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.4.1
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.remove
CPU: All | Platform: All
--------------------------+-------------------------
Comment (by lucadelu):
Replying to [comment:14 veroandreo]:
> Replying to [comment:13 martinl]:
> > What is status of this issue?
>
> The behavior described in the ticket is still the current behavior:
> * no flag set: removes the strds directly (no warning) -->> I think it
would make sense to have a WARNING as in G7:g.remove and a flag to force
the removal of strds only
>
> * if only -r flag is set, the user gets: `ERROR: The recursive flag
works only in conjunction with the force flag: use -rf` -->> IMHO, it
would be consistent with G7:g.remove to get the list of maps that will be
removed plus a WARNING with advice to use both flags (-rf) to actually
remove strds and maps, otherwise what is the point of having a flag (-r)
that cannot be used alone?
>
I think this is a behavior change and it could affect some add-ons since
-f should be used like in g.remove so to really remove. I think this
should released in next major release. I would like to have this behavior:
* without flag it show the warning
* -r to show the maps connected with the temporal dataset
* -f remove temporal dataset (with -r remove maps from temporal framework)
* -d to delete maps from mapset
What do you think?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2752#comment:15>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list