[GRASS-dev] [GRASS GIS] #3509: g.region grow with negative number limited because of top and bottom

GRASS GIS trac at osgeo.org
Fri Mar 2 08:13:46 PST 2018


#3509: g.region grow with negative number limited because of top and bottom
-------------------------------------------------+-------------------------
 Reporter:  wenzeslaus                           |      Owner:  grass-dev@…
     Type:  defect                               |     Status:  new
 Priority:  minor                                |  Milestone:  7.4.1
Component:  Raster                               |    Version:  svn-trunk
 Keywords:  grow, shrink, g.region, expand       |        CPU:  Unspecified
  computational region, extent, 3D               |
 Platform:  Unspecified                          |
-------------------------------------------------+-------------------------
 Here is what happens if you want to shrink region (grow < 0):

 {{{
 g.region -p raster=elevation
 g.region -p grow=-1
 # ERROR: Top must be larger than Bottom
 g.region -p grow=2
 g.region -p grow=-1
 g.region -p grow=-1
 g.region -p grow=-1
 # ERROR: Top must be larger than Bottom
 }}}

 When you have small depth (1 by default) you can't do `grow=-1`.

 ''Please, add milestone 7.6.''

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3509>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list