[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
Wed Dec 14 15:50:06 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):

 we have a couple of choices on how it should work:

 if not in PERMANENT:
  * extend current WIND + newly imported map

 if in PERMANENT:
  * extend DEFAULT_WIND + newly imported map

 then
  * stop
 or
  * extend WIND + newly imported map
 or
  * replace WIND based on extended DEFAULT_WIND + new map

 in all cases a message will be output stating what has happened.


 so when you're in PERMANENT both WIND and DEFAULT_WIND would get updated.
 but then should WIND and DEFAULT_WIND expand independently, or is it
 reasonable to just write out the newly expanded DEFAULT_WIND and
 completely replace PERMANENT's WIND? (this is how 'r.in.gdal -e' is
 currently coded in trunk)


 any preference on how this should work?


 Hamish

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



More information about the grass-dev mailing list