[GRASS-dev] [GRASS GIS] #2752: t.remove: add dual-step removal as in g.remove

GRASS GIS trac at osgeo.org
Sun Jan 28 11:17:11 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 veroandreo):

 Replying to [comment:15 lucadelu]:
 > 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?

 Sorry for my ignorance here, but is a new flag needed?

 I was thinking of:
 * no flag: shows the warning that to remove strds -f should be used
 * only -f: removes the strds, and warns that -rf should be used to remove
 the maps
 * only -r: shows maps in the strds that will be removed and warns that -r
 and -f should be used to remove the maps
 * -rf to remove strds and maps (as now)

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2752#comment:16>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list