Re: [GRASS-user] Defining Environment variable for WinGRASS

2011-04-01 Thread Glynn Clements
Luisa Peña wrote: > For instance if I define GDAL_DATA like that, If in the same script I run > grass.Popen( path applicable? Yes. -- Glynn Clements ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass

Re: [GRASS-user] Defining Environment variable for WinGRASS

2011-03-31 Thread Luisa Peña
Hi Glynn For instance if I define GDAL_DATA like that, If in the same script I run grass.Popen( > > Luisa Peña wrote: > > > Is it possible to define a Environmental variable for Windows, like > > GDAL_DATA, like this in a Python Script? > > > > os.environ['GDAL_DATA'] = > > > > Is this possible?

Re: [GRASS-user] Defining Environment variable for WinGRASS

2011-03-31 Thread Glynn Clements
Luisa Peña wrote: > Is it possible to define a Environmental variable for Windows, like > GDAL_DATA, like this in a Python Script? > > os.environ['GDAL_DATA'] = > > Is this possible? does this work? Yes. However, as each process has its own environment, it only affects the process running th

[GRASS-user] Defining Environment variable for WinGRASS

2011-03-30 Thread Luisa Peña
Greetings Is it possible to define a Environmental variable for Windows, like GDAL_DATA, like this in a Python Script? os.environ['GDAL_DATA'] = Is this possible? does this work? Thanks Best regards, Luisa ___ grass-user mailing list grass-user@list