Nikos Alexandris wrote:

> > > Why the ctypes version return 'PERMANENT' instead of 'user1'?
> 
> Glynn Clements wrote:
> 
> > The $GISRC file is read the first time that an environment lookup is
> > made. There is no way to force it to be re-read.
> 
> This means that I can't use instructions like

[...]

> in a function (pasted below) which I call from within a "for" loop to go 
> through Mapsets that potentially contain raster maps named differently? 

You can modify the current process' environment with G_setenv().

-- 
Glynn Clements <gl...@gclements.plus.com>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to