[GRASS-dev] Re: [GRASS GIS] #863: set_env/unset_env should release memory

GRASS GIS trac at osgeo.org
Wed Jan 13 14:26:33 EST 2010


#863: set_env/unset_env should release memory
--------------------------+-------------------------------------------------
  Reporter:  rblazek      |       Owner:  grass-dev at lists.osgeo.org
      Type:  enhancement  |      Status:  new                      
  Priority:  normal       |   Milestone:  6.5.0                    
 Component:  libgis       |     Version:  svn-trunk                
Resolution:               |    Keywords:                           
  Platform:  All          |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Comment (by rblazek):

 Replying to [comment:4 glynn]:

 Thanks for explanation. Two environments are not sufficient because
 GDAL/QGIS can open any number of maps from different locations but the
 idea of G!__switch_env() sounds good. Do you think that a patch adding
 possibility to create more environments and switching between them using
 environment id/index would be accepted? I am thinking about an array of
 pointers to a structure keeping ENV *env and **mapset_name (maybe more?).

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


More information about the grass-dev mailing list