[GRASS-dev] [GRASS GIS] #3538: add r.clip into core modules

GRASS GIS trac at osgeo.org
Wed Mar 28 09:46:18 PDT 2018


#3538: add r.clip into core modules
--------------------------+-------------------------
  Reporter:  martinl      |      Owner:  grass-dev@…
      Type:  task         |     Status:  new
  Priority:  normal       |  Milestone:  7.6.0
 Component:  Raster       |    Version:  svn-trunk
Resolution:               |   Keywords:  r.clip
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by Nikos Alexandris):

 Replying to [comment:4 martinl]:
 > Replying to [comment:2 Nikos Alexandris]:
 > > I would (re-)name it to `r.extract` or reword the label/description of
 the module to read something like: "Clips out portion from the input map
 based on either the extent of the current region or a vector map".
 >
 > -1 `r.extract` brings more confusion which is not really necessary.
 `r.clip` does the same as G7:v.clip - clips input raster/vector map based
 on current region or vector map if defined.

 Right, I forgot `v.clip`. However, the sentence "clips input raster/vector
 map based on current region or vector map if defined" means that the the
 clip action alters directly the input map. I think the original author
 correctly used the wording "Extracts portion...".

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



More information about the grass-dev mailing list