[GRASS-dev] Re: [GRASS GIS] #194: i.fusion.brovey: remove temp region file?

GRASS GIS trac at osgeo.org
Mon Jun 23 07:19:51 EDT 2008


#194: i.fusion.brovey: remove temp region file?
----------------------+-----------------------------------------------------
  Reporter:  hamish   |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  minor    |   Milestone:  6.4.0                    
 Component:  default  |     Version:  svn-trunk                
Resolution:           |    Keywords:  i.fusion.brovey          
----------------------+-----------------------------------------------------
Comment (by glynn):

 Replying to [comment:1 hamish]:

 > ie can WIND_OVERRIDE legally point to a region wind file which does not
 yet exist?

 It depends upon the situation, but in most cases, no. Anything which tries
 to read the window (which lots of functions do implicitly) will fail if
 WIND_OVERRIDE references a non-existent region.

 In particular, g.region calls G_get_window() unless -d is given (any
 command line settings override specific components of the current region),
 which will fail if WIND_OVERRIDE is set but the region doesn't exit.

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


More information about the grass-dev mailing list