[GRASS-dev] Re: [GRASS GIS] #1507: r.in.gdal & others: -e must only modify the current mapset's WIND file

GRASS GIS trac at osgeo.org
Sun Dec 18 01:37:56 EST 2011


#1507: r.in.gdal & others: -e must only modify the current mapset's WIND file
---------------------------------------------+------------------------------
 Reporter:  hamish                           |       Owner:  grass-dev@…              
     Type:  defect                           |      Status:  new                      
 Priority:  blocker                          |   Milestone:  6.4.2                    
Component:  Default                          |     Version:  svn-trunk                
 Keywords:  r.in.gdal, r.external, v.in.ogr  |    Platform:  All                      
      Cpu:  All                              |  
---------------------------------------------+------------------------------

Comment(by hamish):

 Replying to [comment:11 glynn]:
 > This opens up the issue of whether individual mapsets should have a
 DEFAULT_WIND.
 > Or, alternatively, whether "g.region -d" and "g.region -s" should be
 synonyms for
 > e.g. "g.region region=default" and "g.region save=default" respectively
 (with the
 > former falling back to ../PERMANENT/DEFAULT_WIND if no region named
 "default"
 > exists).

 try the attached patch. perhaps the reading bit should go into
 G_get_default_wind() instead, but the nice thing about
 G_get_default_wind() is that it acts as a bit of a failsafe in case
 everything else gets corrupted, locally overriding it loses that.


 Replying to [comment:14 neteler]:
 > Yes, please sync.

 done in trunk and devbr6. please test (ie 6.5svn as the source for the 6.4
 backport).
 I haven't touched v.in.lidar, but I guess it should act the same as the
 others.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1507#comment:15>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list