[GRASS-dev] Re: [GRASS GIS] #1530: g.region shrink / expand parameter

GRASS GIS trac at osgeo.org
Thu Jan 5 05:33:10 EST 2012


#1530: g.region shrink / expand parameter
--------------------------+-------------------------------------------------
  Reporter:  alf          |       Owner:  grass-dev@…              
      Type:  enhancement  |      Status:  reopened                 
  Priority:  normal       |   Milestone:  6.4.2                    
 Component:  Default      |     Version:  6.4.1                    
Resolution:               |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Changes (by alf):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Replying to [comment:3 martinl]:
 > Replying to [comment:2 alf]:
 >
 > > Maybe in future the shrink and expand parameters can be introduced fro
 a quickest working region trimming.
 >
 > I agree, I would be able to imagine something like
 >
 > {{{
 > # g.region n=n+10 s=s-10 w=w-10 e=e+10
 > g.region offset=10
 >
 > # g.region n=n-10 s=s+10 w=w+10 e=e-10
 > g.region offset=-10
 > }}}
 >
 > Make sense?

 Yes Martin!  For the parameter name I'd rather go with the term 'expand',
 and the following entry in the manual

 (...)
 expand=value
     Expand (positive offset value) or shrink (negative offset value)
 current region
 (...)

 Alessandro

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1530#comment:5>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list