[GRASS-dev] [GRASS GIS] #1745: proposal: make -a flag the default behaviour for g.region

GRASS GIS trac at osgeo.org
Mon Oct 1 02:57:09 PDT 2012


#1745: proposal: make -a flag the default behaviour for g.region
-------------------------+--------------------------------------------------
 Reporter:  mlennert     |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Default      |     Version:  svn-trunk                
 Keywords:  g,region     |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
Changes (by hamish):

  * keywords:  => g,region


Comment:

 > I always find myself in difficulties having to explain to students
 > why GRASS' default behaviour is the way it is...

 Consider importing a grid-referenced dataset from 3rd party enviro model
 output:

 `g.region n=100025 s=49975 w=69975 e=120025 res=50`

 Using '-a' breaks that by rounding to `n=100050 s=49950 w=69950 e=120050`.
 (take care, d.zoom in grass6 does -a by default)

 (I don't know about anyone else, but I have to deal with this all the time
 when importing various ocean model data)


 That's not specifically to say preserving the bounds is more important
 than preserving the resolution (we'd be trading nice round resolution for
 ugly nsew bounds; one problem for another, pick your poison), just that
 IMO by default GRASS should try to do the least-damaging thing (whatever
 that may prove to be..) even if that pursuit of best-correctness means
 adding an extra lesson to the admittedly steep learning curve.


 Hamish

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



More information about the grass-dev mailing list